comparison src/lstream.h @ 456:e7ef97881643 r21-2-43

Import from CVS: tag r21-2-43
author cvs
date Mon, 13 Aug 2007 11:41:24 +0200
parents 576fb035e263
children 0784d089fdc9
comparison
equal deleted inserted replaced
455:5b97c1cd6ed0 456:e7ef97881643
165 unsigned char *unget_buffer; /* holds characters pushed back onto input */ 165 unsigned char *unget_buffer; /* holds characters pushed back onto input */
166 size_t unget_buffer_size; /* allocated size of buffer */ 166 size_t unget_buffer_size; /* allocated size of buffer */
167 size_t unget_buffer_ind; /* pointer to next buffer spot to write a character */ 167 size_t unget_buffer_ind; /* pointer to next buffer spot to write a character */
168 168
169 size_t byte_count; 169 size_t byte_count;
170 long flags; /* Align pointer for 64 bit machines (kny) */ 170 int flags;
171 char data[1]; 171 max_align_t data[1];
172 }; 172 };
173 173
174 #define LSTREAM_TYPE_P(lstr, type) \ 174 #define LSTREAM_TYPE_P(lstr, type) \
175 ((lstr)->imp == lstream_##type) 175 ((lstr)->imp == lstream_##type)
176 176