Mercurial > ~dholland > hg > tradcpp > index.cgi
annotate utils.h @ 5:7c489c73d62b
Clear commandline_files after processing it.
author | David A. Holland |
---|---|
date | Sun, 19 Dec 2010 17:53:49 -0500 |
parents | bfa97d43197e |
children | 0601b6e8e53d |
rev | line source |
---|---|
3 | 1 #define HOWMANY(arr) (sizeof(arr)/sizeof((arr)[0])) |
2 | |
3 void *domalloc(size_t len); | |
4 void *dorealloc(void *ptr, size_t len); | |
5 | |
6 char *dostrdup(const char *s); | |
7 char *dostrdup2(const char *s, const char *t); | |
8 char *dostrdup3(const char *s, const char *t, const char *u); | |
9 | |
10 void freestringlater(char *s); | |
11 void die(void); |