Mercurial > emacs
comparison src/mem-limits.h @ 55875:65f0675acb04
(EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 01 Jun 2004 20:23:34 +0000 |
parents | 695cf19ef79e |
children | a8fa7c632ee4 4c90ffeb71c5 |
comparison
equal
deleted
inserted
replaced
55874:8a2620ff2d01 | 55875:65f0675acb04 |
---|---|
1 /* Includes for memory limit warnings. | 1 /* Includes for memory limit warnings. |
2 Copyright (C) 1990, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. | 2 Copyright (C) 1990, 93, 94, 95, 1996, 2004 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GNU Emacs. | 4 This file is part of GNU Emacs. |
5 | 5 |
6 GNU Emacs is free software; you can redistribute it and/or modify | 6 GNU Emacs is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
79 #undef NULL | 79 #undef NULL |
80 #endif | 80 #endif |
81 #define NULL ((POINTER) 0) | 81 #define NULL ((POINTER) 0) |
82 | 82 |
83 extern POINTER start_of_data (); | 83 extern POINTER start_of_data (); |
84 #ifdef DATA_SEG_BITS | 84 #if defined USE_LSB_TAG |
85 #define EXCEEDS_LISP_PTR(ptr) 0 | |
86 #elif defined DATA_SEG_BITS | |
85 #define EXCEEDS_LISP_PTR(ptr) \ | 87 #define EXCEEDS_LISP_PTR(ptr) \ |
86 (((EMACS_UINT) (ptr) & ~DATA_SEG_BITS) >> VALBITS) | 88 (((EMACS_UINT) (ptr) & ~DATA_SEG_BITS) >> VALBITS) |
87 #else | 89 #else |
88 #define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS) | 90 #define EXCEEDS_LISP_PTR(ptr) ((EMACS_UINT) (ptr) >> VALBITS) |
89 #endif | 91 #endif |