Mercurial > emacs
view src/s/osf5-0.h @ 51683:fb960854a12c
(VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros.
(GC_STRING_BYTES): Don't mask markbit (it's only used on `size').
(allocate_buffer): Move.
(string_bytes): Don't mask markbit of `size_byte'.
(mark_maybe_object, mark_maybe_pointer, Fgarbage_collect)
(mark_object, mark_buffer, survives_gc_p, gc_sweep):
Use the `size' field of buffers (rather than the `name' field) for
the mark bit, as is done for all other vectorlike objects.
Use the new macros to access the mark bit of vectorlike objects.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 27 Jun 2003 21:54:20 +0000 |
parents | 5ebd400725b6 |
children | 695cf19ef79e |
line wrap: on
line source
#define OSF5 #include "osf1.h" /* It's enough to define _OSF_SOURCE instead of _BSD. */ #undef C_SWITCH_SYSTEM #define C_SWITCH_SYSTEM -D_OSF_SOURCE #ifndef NSIG /* _OSF_SOURCE seems to get us this */ #define NSIG __sys_nsig #endif /* We have missing/inconsistent prototypes on 5.0, at least. */ #define INHIBIT_X11R6_XIM #define USE_MMAP_FOR_BUFFERS 1 #define TERMINFO #define LIBS_TERMCAP -lcurses #define GC_SETJMP_WORKS 1 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS