add pic_lib

This commit is contained in:
Yuichi Nishiwaki
2013-12-07 03:58:18 -08:00
parent acbcde3b6a
commit 931565d4ce
7 changed files with 31 additions and 2 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef LIB_H__
#define LIB_H__
struct pic_lib {
PIC_OBJECT_HEADER
struct pic_senv *senv;
struct xhash *exports;
};
#endif
+2 -1
View File
@@ -92,7 +92,8 @@ enum pic_tt {
PIC_TT_CONT,
PIC_TT_SENV,
PIC_TT_SYNTAX,
PIC_TT_SC
PIC_TT_SC,
PIC_TT_LIB
};
#define PIC_OBJECT_HEADER \