add nil stuff

This commit is contained in:
Yuichi Nishiwaki
2013-10-10 17:08:54 +09:00
parent 9038939bd1
commit 0fad63f22a
3 changed files with 13 additions and 1 deletions
+2
View File
@@ -2,6 +2,7 @@
#define VALUE_H__
enum pic_vtype {
PIC_VTYPE_NIL,
PIC_VTYPE_HEAP
};
@@ -35,6 +36,7 @@ struct pic_symbol {
char *name;
};
pic_value pic_nil_value();
pic_value pic_obj_value(struct pic_object *obj);
#endif