diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-11-19 07:37:32 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-11-19 07:37:32 -0800 |
commit | 91de0e52b8d1cfa3d7d6e2be69d6d7cf6e479bfe (patch) | |
tree | 7b74b4bff9f1e9d149ed9505642b557c4aaf4064 /regex.h | |
parent | 7cea70b7547d6e3410a04c87ed12533261a39685 (diff) | |
download | txr-91de0e52b8d1cfa3d7d6e2be69d6d7cf6e479bfe.tar.gz txr-91de0e52b8d1cfa3d7d6e2be69d6d7cf6e479bfe.tar.bz2 txr-91de0e52b8d1cfa3d7d6e2be69d6d7cf6e479bfe.zip |
Use function rather than cptr built-in macros.
* eval.c (mefun_t): Typedef removed.
(expand_macro): Test whether the binding is a function, rather
than C object, and call it with funcall2.
(reg_mac): Take a val argument for the expander function,
rather than a C function pointer, and just store that value
into the binding unconverted.
(eval_init): Insert a func_n2(...) call into all reg_mac calls
to hoist the C functions into the object domain.
Diffstat (limited to 'regex.h')
0 files changed, 0 insertions, 0 deletions