prefer type alias to types with 'struct'
This commit is contained in:
+2
-2
@@ -94,12 +94,12 @@ typedef struct {
|
||||
pic_sym sADD, sSUB, sMUL, sDIV, sMINUS;
|
||||
pic_sym sEQ, sLT, sLE, sGT, sGE, sNOT;
|
||||
|
||||
struct xhash *sym_tbl;
|
||||
xhash *sym_tbl;
|
||||
const char **sym_pool;
|
||||
size_t slen, scapa;
|
||||
int uniq_sym_count;
|
||||
|
||||
struct xhash *global_tbl;
|
||||
xhash *global_tbl;
|
||||
pic_value *globals;
|
||||
size_t glen, gcapa;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ struct pic_lib {
|
||||
PIC_OBJECT_HEADER
|
||||
pic_value name;
|
||||
struct pic_senv *senv;
|
||||
struct xhash *exports;
|
||||
xhash *exports;
|
||||
};
|
||||
|
||||
#define pic_lib_ptr(o) ((struct pic_lib *)pic_ptr(o))
|
||||
|
||||
@@ -13,7 +13,7 @@ struct pic_senv {
|
||||
PIC_OBJECT_HEADER
|
||||
struct pic_senv *up;
|
||||
/* positive for variables, negative for macros (bitwise-not) */
|
||||
struct xhash *tbl;
|
||||
xhash *tbl;
|
||||
struct pic_syntax **stx;
|
||||
size_t xlen, xcapa;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user