comparison src/buffer.h @ 5120:d1247f3cc363 ben-lisp-object

latest work on lisp-object workspace; more changes eliminating LCRECORD in place of LISP_OBJECT; now compiles and runs.
author Ben Wing <ben@xemacs.org>
date Mon, 28 Dec 2009 01:15:52 -0600
parents e0db3c197671
children b5df3737028a
comparison
equal deleted inserted replaced
5119:d877c14318b3 5120:d1247f3cc363
78 #define NUM_MOVED_POSITIONS 10 78 #define NUM_MOVED_POSITIONS 10
79 79
80 struct buffer_text 80 struct buffer_text
81 { 81 {
82 #ifdef NEW_GC 82 #ifdef NEW_GC
83 struct lrecord_header header; 83 LISP_OBJECT_HEADER header;
84 #endif /* NEW_GC */ 84 #endif /* NEW_GC */
85 Ibyte *beg; /* Actual address of buffer contents. */ 85 Ibyte *beg; /* Actual address of buffer contents. */
86 Bytebpos gpt; /* Index of gap in buffer. */ 86 Bytebpos gpt; /* Index of gap in buffer. */
87 Charbpos bufgpt; /* Equivalent as a Charbpos. */ 87 Charbpos bufgpt; /* Equivalent as a Charbpos. */
88 Bytebpos z; /* Index of end of buffer. */ 88 Bytebpos z; /* Index of end of buffer. */
155 #endif /* NEW_GC */ 155 #endif /* NEW_GC */
156 156
157 157
158 struct buffer 158 struct buffer
159 { 159 {
160 struct LCRECORD_HEADER header; 160 LISP_OBJECT_HEADER header;
161 161
162 /* This structure holds the coordinates of the buffer contents 162 /* This structure holds the coordinates of the buffer contents
163 in ordinary buffers. In indirect buffers, this is not used. */ 163 in ordinary buffers. In indirect buffers, this is not used. */
164 struct buffer_text own_text; 164 struct buffer_text own_text;
165 165