X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/509cf0693fc440c71bdd3e71ea8947a6b4eb0bcf..7c9125f3e75c250e51d5bb9658f730519f103c10:/src/treefuncs.h diff --git a/src/treefuncs.h b/src/treefuncs.h index 974540a..c53ae23 100644 --- a/src/treefuncs.h +++ b/src/treefuncs.h @@ -102,6 +102,8 @@ struct _Class { int type; char * otype; char * ptype; + char * bonobo_x_class; + char * chunk_size; GList * nodes; }; @@ -129,12 +131,13 @@ struct _Method { int ccode_line; gboolean vararg; int unique_id; + gboolean bonobo_x_func; }; struct _Type { int type; - int stars; char * name; + char * pointer; char * postfix; }; @@ -167,10 +170,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 * bonobo_x_class, 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_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, gboolean bonobo_x_func); +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 */