Mercurial > ~dholland > hg > tradcpp > index.cgi
diff macro.h @ 177:6119608a9817
Finish joerg's halfassedly partial const changes.
(why only do half of it?)
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 03:03:04 -0400 |
parents | 3e7e696fe558 |
children | 4c3375895c6e |
line wrap: on
line diff
--- a/macro.h Fri Jun 12 02:55:02 2015 -0400 +++ b/macro.h Fri Jun 12 03:03:04 2015 -0400 @@ -44,7 +44,8 @@ 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 *);