182
183
184
185
186
187
188
189
190
191
192
193
194
195
|
{
return string(s, _MAXDEFSTR - 1);
};
void dealloc_block(void *b);
void allocnext(size_t allocsize);
};
template <class T> struct vector {
T *buf;
int alen;
int ulen;
pool *p;
|
>
>
|
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
{
return string(s, _MAXDEFSTR - 1);
};
void dealloc_block(void *b);
void allocnext(size_t allocsize);
};
pool *gp();
template <class T> struct vector {
T *buf;
int alen;
int ulen;
pool *p;
|
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
|
loopi(ht->size) for (ht->enumc = ht->table[i]; ht->enumc; \
ht->enumc = ht->enumc->next) \
{ \
t e = &ht->enumc->data; \
b; \
}
pool *gp();
inline char *
newstring(char *s)
{
return gp()->string(s);
};
inline char *
newstring(char *s, size_t l)
|
<
|
374
375
376
377
378
379
380
381
382
383
384
385
386
387
|
loopi(ht->size) for (ht->enumc = ht->table[i]; ht->enumc; \
ht->enumc = ht->enumc->next) \
{ \
t e = &ht->enumc->data; \
b; \
}
inline char *
newstring(char *s)
{
return gp()->string(s);
};
inline char *
newstring(char *s, size_t l)
|