]> git.draconx.ca Git - gob-dx.git/blobdiff - src/treefuncs.h
Release 1.0.2
[gob-dx.git] / src / treefuncs.h
index 974540a01ade1029319d14d6b83a886589862050..4d60558645f4d406444c7d3dac1acd4271d44471 100644 (file)
@@ -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 */