add pic_funcall

This commit is contained in:
Yuichi Nishiwaki
2014-07-13 11:07:42 +09:00
parent 13fec26c59
commit fe375a7224
2 changed files with 14 additions and 0 deletions
+2
View File
@@ -135,6 +135,8 @@ void pic_define(pic_state *, const char *, pic_value); /* automatic export */
pic_value pic_ref(pic_state *, const char *);
void pic_set(pic_state *, const char *, pic_value);
pic_value pic_funcall(pic_state *pic, const char *name, pic_list args);
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);