comparison utils.h @ 16:9dda765ee85c

expression evaluator
author David A. Holland
date Mon, 20 Dec 2010 00:32:20 -0500
parents 97243badae69
children c08a947d8f30
comparison
equal deleted inserted replaced
15:f6177d3ed5c2 16:9dda765ee85c
3 3
4 struct place; 4 struct place;
5 5
6 6
7 #define HOWMANY(arr) (sizeof(arr)/sizeof((arr)[0])) 7 #define HOWMANY(arr) (sizeof(arr)/sizeof((arr)[0]))
8
9 extern const char ws[];
10 extern const char alnum[];
11
8 12
9 void *domalloc(size_t len); 13 void *domalloc(size_t len);
10 void *dorealloc(void *ptr, size_t len); 14 void *dorealloc(void *ptr, size_t len);
11 15
12 char *dostrdup(const char *s); 16 char *dostrdup(const char *s);