change var API
This commit is contained in:
@@ -19,10 +19,10 @@ struct pic_var {
|
||||
|
||||
struct pic_var *pic_var_new(pic_state *, pic_value);
|
||||
|
||||
pic_value pic_var_ref(pic_state *, const char *);
|
||||
void pic_var_set(pic_state *, const char *, pic_value);
|
||||
void pic_var_push(pic_state *, const char *, pic_value);
|
||||
void pic_var_pop(pic_state *, const char *);
|
||||
pic_value pic_var_ref(pic_state *, struct pic_var *);
|
||||
void pic_var_set(pic_state *, struct pic_var *, pic_value);
|
||||
void pic_var_push(pic_state *, struct pic_var *, pic_value);
|
||||
void pic_var_pop(pic_state *, struct pic_var *);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user