Mercurial > ~dholland > hg > tradcpp > index.cgi
annotate macro.h @ 15:f6177d3ed5c2
handle directives
author | David A. Holland |
---|---|
date | Sun, 19 Dec 2010 21:42:01 -0500 |
parents | ee9a66b87c70 |
children | 76da41da923f |
rev | line source |
---|---|
4
ee9a66b87c70
Initial version of toplevel and options handling.
David A. Holland
parents:
diff
changeset
|
1 struct place; |
ee9a66b87c70
Initial version of toplevel and options handling.
David A. Holland
parents:
diff
changeset
|
2 |
15 | 3 void macro_define(struct place *, const char *macro, |
4 struct place *, const char *expansion); | |
4
ee9a66b87c70
Initial version of toplevel and options handling.
David A. Holland
parents:
diff
changeset
|
5 void macro_undef(const char *macro); |
15 | 6 bool macro_isdefined(const char *macro); |
7 | |
8 char *macroexpand(struct place *, char *buf, size_t len, bool honordefined); | |
9 | |
10 void macro_sendline(struct place *, char *buf, size_t len); | |
11 void macro_sendeof(struct place *); |