tradcpp: upgrade to 0.5.3

This commit is contained in:
Jon Trulson
2019-12-03 18:12:22 -07:00
parent 15dfdf231a
commit ec8f4b7464
28 changed files with 843 additions and 186 deletions

View File

@@ -27,8 +27,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdbool.h>
#include <stddef.h>
#include "bool.h"
struct place;
@@ -40,10 +40,12 @@ void macro_define_plain(struct place *, const char *macro,
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 *);