X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/3379dcdfd0872947d761053c61d773add94d38c2..8fcffcc668f4782447beb64a823cc15961cea9ab:/src/treefuncs.h diff --git a/src/treefuncs.h b/src/treefuncs.h index d2e9430..974540a 100644 --- a/src/treefuncs.h +++ b/src/treefuncs.h @@ -33,7 +33,8 @@ enum { NO_SCOPE, PUBLIC_SCOPE, PRIVATE_SCOPE, - PROTECTED_SCOPE + PROTECTED_SCOPE, + CLASS_SCOPE }; /* method type */ @@ -127,6 +128,7 @@ struct _Method { int line_no; int ccode_line; gboolean vararg; + int unique_id; }; struct _Type { @@ -167,7 +169,7 @@ 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_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); +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_variable (int scope, Type * vtype, char * id, int line_no, char * destructor, int destructor_line, gboolean destructor_simple, char * initializer, int initializer_line);