X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flisp.h;h=484a7df99ae1f3ef52e3fc3d44531f305ab0af0f;hb=21db8709c0c2dcedbd278c7fe571290d5ce80a71;hp=8b2b8ccae6574f8c9a0bcc9fca8312a546416f3a;hpb=8ae91923b1c6a495348a86739ef5dafb55993b56;p=chise%2Fxemacs-chise.git diff --git a/src/lisp.h b/src/lisp.h index 8b2b8cc..484a7df 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -585,7 +585,7 @@ enum Lisp_Type #define INT_VALBITS (BITS_PER_EMACS_INT - INT_GCBITS) #define VALBITS (BITS_PER_EMACS_INT - GCBITS) -#define EMACS_INT_MAX ((EMACS_INT) ((1UL << INT_VALBITS) -1UL)) +#define EMACS_INT_MAX ((EMACS_INT) ((1UL << (INT_VALBITS - 1)) -1UL)) #define EMACS_INT_MIN (-(EMACS_INT_MAX) - 1) #ifdef USE_UNION_TYPE @@ -2151,6 +2151,8 @@ void debug_ungcpro(char *, int, struct gcpro *); extern Lisp_Object_ptr_dynarr *staticpros; +void register_post_gc_action (void (*fun) (void *), void *arg); + /* Call staticpro (&var) to protect static variable `var'. */ void staticpro (Lisp_Object *);