Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison macro.h @ 17:76da41da923f
added macro table
author | David A. Holland |
---|---|
date | Mon, 20 Dec 2010 01:15:43 -0500 |
parents | f6177d3ed5c2 |
children | c08a947d8f30 |
comparison
equal
deleted
inserted
replaced
16:9dda765ee85c | 17:76da41da923f |
---|---|
1 #include <stdbool.h> | |
2 #include <stddef.h> | |
3 | |
1 struct place; | 4 struct place; |
5 | |
6 void macros_init(void); | |
7 void macros_cleanup(void); | |
2 | 8 |
3 void macro_define(struct place *, const char *macro, | 9 void macro_define(struct place *, const char *macro, |
4 struct place *, const char *expansion); | 10 struct place *, const char *expansion); |
5 void macro_undef(const char *macro); | 11 void macro_undef(const char *macro); |
6 bool macro_isdefined(const char *macro); | 12 bool macro_isdefined(const char *macro); |