Mercurial > ~dholland > hg > tradcpp > index.cgi
diff macro.h @ 178:0d5b9651b240
Merge Joerg's changes into upstream.
(now that they've been thrashed out a bit, include CHANGES entries, etc.)
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 03:05:49 -0400 |
parents | 6119608a9817 |
children | 4c3375895c6e |
line wrap: on
line diff
--- a/macro.h Fri Jun 12 03:04:48 2015 -0400 +++ b/macro.h Fri Jun 12 03:05:49 2015 -0400 @@ -40,10 +40,12 @@ void macro_define_params(struct place *, const char *macro, struct place *, const char *params, struct place *, const char *expansion); +void macro_define_magic(struct place *, const char *macro); void macro_undef(const char *macro); bool macro_isdefined(const char *macro); -char *macroexpand(struct place *, char *buf, size_t len, bool honordefined); +char *macroexpand(struct place *, const char *buf, size_t len, + bool honordefined); -void macro_sendline(struct place *, char *buf, size_t len); +void macro_sendline(struct place *, const char *buf, size_t len); void macro_sendeof(struct place *);