remove pic_defined_p
This commit is contained in:
parent
9c4d815864
commit
597e000000
|
@ -143,7 +143,6 @@ void pic_close(pic_state *);
|
||||||
|
|
||||||
void pic_add_feature(pic_state *, const char *);
|
void pic_add_feature(pic_state *, const char *);
|
||||||
|
|
||||||
bool pic_defined_p(pic_state *, struct pic_lib *, const char *);
|
|
||||||
void pic_define(pic_state *, const char *, pic_value); /* automatic export */
|
void pic_define(pic_state *, const char *, pic_value); /* automatic export */
|
||||||
void pic_defun(pic_state *, const char *, pic_func_t);
|
void pic_defun(pic_state *, const char *, pic_func_t);
|
||||||
void pic_defvar(pic_state *, const char *, pic_value, struct pic_proc *);
|
void pic_defvar(pic_state *, const char *, pic_value, struct pic_proc *);
|
||||||
|
|
6
vm.c
6
vm.c
|
@ -424,12 +424,6 @@ pic_define(pic_state *pic, const char *name, pic_value val)
|
||||||
pic_export(pic, sym);
|
pic_export(pic, sym);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
|
||||||
pic_defined_p(pic_state *pic, struct pic_lib *lib, const char *name)
|
|
||||||
{
|
|
||||||
return pic_find_rename(pic, lib->env, pic_intern_cstr(pic, name), NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
pic_value
|
pic_value
|
||||||
pic_ref(pic_state *pic, struct pic_lib *lib, const char *name)
|
pic_ref(pic_state *pic, struct pic_lib *lib, const char *name)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue