Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison utils.h @ 18:c08a947d8f30
deal with macro parameters
author | David A. Holland |
---|---|
date | Mon, 20 Dec 2010 01:51:47 -0500 |
parents | 9dda765ee85c |
children | 76c114899f63 |
comparison
equal
deleted
inserted
replaced
17:76da41da923f | 18:c08a947d8f30 |
---|---|
14 void *dorealloc(void *ptr, size_t len); | 14 void *dorealloc(void *ptr, size_t len); |
15 | 15 |
16 char *dostrdup(const char *s); | 16 char *dostrdup(const char *s); |
17 char *dostrdup2(const char *s, const char *t); | 17 char *dostrdup2(const char *s, const char *t); |
18 char *dostrdup3(const char *s, const char *t, const char *u); | 18 char *dostrdup3(const char *s, const char *t, const char *u); |
19 char *dostrndup(const char *s, size_t len); | |
20 | |
21 size_t notrailingws(char *buf, size_t len); | |
22 bool is_identifier(const char *str); | |
19 | 23 |
20 /* in place.c */ | 24 /* in place.c */ |
21 void complain(const struct place *, const char *fmt, ...); | 25 void complain(const struct place *, const char *fmt, ...); |
22 void complain_fail(void); | 26 void complain_fail(void); |
23 bool complain_failed(void); | 27 bool complain_failed(void); |