update xhash uses
This commit is contained in:
+4
-4
@@ -86,16 +86,16 @@ typedef struct {
|
||||
pic_sym sADD, sSUB, sMUL, sDIV, sMINUS;
|
||||
pic_sym sEQ, sLT, sLE, sGT, sGE, sNOT;
|
||||
|
||||
xhash *syms; /* name to symbol */
|
||||
xhash *sym_names; /* symbol to name */
|
||||
xhash syms; /* name to symbol */
|
||||
xhash sym_names; /* symbol to name */
|
||||
int sym_cnt;
|
||||
int uniq_sym_cnt;
|
||||
|
||||
xhash *global_tbl;
|
||||
xhash global_tbl;
|
||||
pic_value *globals;
|
||||
size_t glen, gcapa;
|
||||
|
||||
xhash *macros;
|
||||
xhash macros;
|
||||
|
||||
pic_value lib_tbl;
|
||||
struct pic_lib *lib;
|
||||
|
||||
@@ -13,7 +13,7 @@ struct pic_lib {
|
||||
PIC_OBJECT_HEADER
|
||||
pic_value name;
|
||||
struct pic_senv *senv;
|
||||
xhash *exports;
|
||||
xhash exports;
|
||||
};
|
||||
|
||||
#define pic_lib_ptr(o) ((struct pic_lib *)pic_ptr(o))
|
||||
|
||||
@@ -11,7 +11,7 @@ extern "C" {
|
||||
|
||||
struct pic_senv {
|
||||
PIC_OBJECT_HEADER
|
||||
xhash *renames;
|
||||
xhash renames;
|
||||
struct pic_senv *up;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user