Mercurial > emacs
comparison src/alloc.c @ 90082:6d92d69fae33
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-4
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-41
- miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-46
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-47
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-4
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-5
Update from CVS: exi/gnus-faq.texi ([4.1]): Typo.
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-6
Update from CVS
| author | Miles Bader <miles@gnu.org> |
|---|---|
| date | Sat, 22 Jan 2005 21:39:38 +0000 |
| parents | cb67264d6096 f3aa25eacdb3 |
| children | bf0d492ea2d5 |
comparison
equal
deleted
inserted
replaced
| 90081:b1b6eac1aaa3 | 90082:6d92d69fae33 |
|---|---|
| 141 /* Mark, unmark, query mark bit of a Lisp string. S must be a pointer | 141 /* Mark, unmark, query mark bit of a Lisp string. S must be a pointer |
| 142 to a struct Lisp_String. */ | 142 to a struct Lisp_String. */ |
| 143 | 143 |
| 144 #define MARK_STRING(S) ((S)->size |= ARRAY_MARK_FLAG) | 144 #define MARK_STRING(S) ((S)->size |= ARRAY_MARK_FLAG) |
| 145 #define UNMARK_STRING(S) ((S)->size &= ~ARRAY_MARK_FLAG) | 145 #define UNMARK_STRING(S) ((S)->size &= ~ARRAY_MARK_FLAG) |
| 146 #define STRING_MARKED_P(S) ((S)->size & ARRAY_MARK_FLAG) | 146 #define STRING_MARKED_P(S) (((S)->size & ARRAY_MARK_FLAG) != 0) |
| 147 | 147 |
| 148 #define VECTOR_MARK(V) ((V)->size |= ARRAY_MARK_FLAG) | 148 #define VECTOR_MARK(V) ((V)->size |= ARRAY_MARK_FLAG) |
| 149 #define VECTOR_UNMARK(V) ((V)->size &= ~ARRAY_MARK_FLAG) | 149 #define VECTOR_UNMARK(V) ((V)->size &= ~ARRAY_MARK_FLAG) |
| 150 #define VECTOR_MARKED_P(V) ((V)->size & ARRAY_MARK_FLAG) | 150 #define VECTOR_MARKED_P(V) (((V)->size & ARRAY_MARK_FLAG) != 0) |
| 151 | 151 |
| 152 /* Value is the number of bytes/chars of S, a pointer to a struct | 152 /* Value is the number of bytes/chars of S, a pointer to a struct |
| 153 Lisp_String. This must be used instead of STRING_BYTES (S) or | 153 Lisp_String. This must be used instead of STRING_BYTES (S) or |
| 154 S->size during GC, because S->size contains the mark bit for | 154 S->size during GC, because S->size contains the mark bit for |
| 155 strings. */ | 155 strings. */ |
