publish pic_defmacro as a public API

This commit is contained in:
Yuichi Nishiwaki 2013-11-26 09:09:15 -08:00
parent 2dee30a0b5
commit c336a354e4
2 changed files with 2 additions and 1 deletions

View File

@ -101,6 +101,7 @@ void pic_close(pic_state *);
struct pic_proc *pic_get_proc(pic_state *);
int pic_get_args(pic_state *, const char *, ...);
void pic_defun(pic_state *, const char *, pic_func_t);
void pic_defmacro(pic_state *, const char *, struct pic_proc *);
pic_sym pic_intern_cstr(pic_state *, const char *);
const char *pic_symbol_name(pic_state *, pic_sym);

View File

@ -11,7 +11,7 @@
#define FALLTHROUGH ((void)0)
static void
void
pic_defmacro(pic_state *pic, const char *name, struct pic_proc *macro)
{
int idx;