update xhash uses

This commit is contained in:
Yuichi Nishiwaki
2014-03-25 15:29:26 +09:00
parent 7bac84afec
commit ca42b44921
11 changed files with 98 additions and 84 deletions
+4 -4
View File
@@ -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;
+1 -1
View File
@@ -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))
+1 -1
View File
@@ -11,7 +11,7 @@ extern "C" {
struct pic_senv {
PIC_OBJECT_HEADER
xhash *renames;
xhash renames;
struct pic_senv *up;
};