prefer type alias to types with 'struct'

This commit is contained in:
Yuichi Nishiwaki
2014-02-07 01:15:17 +09:00
parent 1901a7ab30
commit 53979bf848
6 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -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;
+1 -1
View File
@@ -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))
+1 -1
View File
@@ -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;
};