X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/072bb12e618b26cce359784aa56f9a2b70e1ce52..486240dc4c5d57b0afaddba60d87fe375112bed5:/src/treefuncs.h diff --git a/src/treefuncs.h b/src/treefuncs.h index 974540a..4d60558 100644 --- a/src/treefuncs.h +++ b/src/treefuncs.h @@ -102,6 +102,7 @@ struct _Class { int type; char * otype; char * ptype; + char * chunk_size; GList * nodes; }; @@ -133,8 +134,8 @@ struct _Method { struct _Type { int type; - int stars; char * name; + char * pointer; char * postfix; }; @@ -167,10 +168,10 @@ union _Node { Node * new_argument (char * gtktype, Type * atype, GList * flags, char * name, char * get, int get_line, char * set, int set_line, int line_no); Node * new_ccode (int cctype, char * cbuf, int line_no); Node * new_check (int chtype, char * number); -Node * new_class (char * otype, char * ptype, GList * nodes); +Node * new_class (char * otype, char * ptype, char * chunk_size, GList * nodes); Node * new_funcarg (Type * atype, char * name, GList * checks); Node * new_method (int scope, int method, Type * mtype, char * otype, GList * gtktypes, GList * flags, char * id, GList * args, char * onerror, char * defreturn, char * cbuf, int line_no, int ccode_line, gboolean vararg, int unique_id); -Node * new_type (int stars, char * name, char * postfix); +Node * new_type (char * name, char * pointer, char * postfix); Node * new_variable (int scope, Type * vtype, char * id, int line_no, char * destructor, int destructor_line, gboolean destructor_simple, char * initializer, int initializer_line); /* General copy/free functions */