Go to the documentation of this file.
47 #define odr_max(o) ((o)->size - ((o)->bp - (o)->buf))
48 #define odr_offset(o) ((o)->bp - (o)->buf)
79 #define ODR_MAX_STACK 2000
98 const char *buf,
int len);
112 #define ODR_STACK_POP(x) (x)->op->stack_top = (x)->op->stack_top->prev
113 #define ODR_STACK_EMPTY(x) (!(x)->op->stack_top)
114 #define ODR_STACK_NOT_EMPTY(x) ((x)->op->stack_top)
122 #define odr_putc(o, c) \
125 (o)->pos < (o)->size ? \
127 (o)->buf[(o)->pos++] = (c), \
131 odr_grow_block((o), 1) == 0 ? \
133 (o)->buf[(o)->pos++] = (c), \
137 (o)->error = OSPACE, \
143 (o)->pos > (o)->top ? \
145 (o)->top = (o)->pos, \