X-Git-Url: http://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/daead564b9592e78d418deb56a211cd5ea399f76..6e77e91bbb048a0ee1a072715c0ce808c169ab38:/src/tree.h diff --git a/src/tree.h b/src/tree.h index caef602..f6b8caf 100644 --- a/src/tree.h +++ b/src/tree.h @@ -106,8 +106,11 @@ enum { INIT_METHOD, CLASS_INIT_METHOD, VIRTUAL_METHOD, + PRIVATE_VIRTUAL_METHOD, SIGNAL_LAST_METHOD, SIGNAL_FIRST_METHOD, + PRIVATE_SIGNAL_LAST_METHOD, + PRIVATE_SIGNAL_FIRST_METHOD, OVERRIDE_METHOD }; @@ -124,6 +127,7 @@ struct _Method { GString *cbuf; int line_no; int ccode_line; + int vararg; }; typedef struct _Variable Variable; @@ -151,7 +155,7 @@ Node *new_class(char *otype, char *ptype, GList *nodes); Node *new_type(int stars, char *name); Node *new_check(int chtype, char *number); Node *new_funcarg(Type *atype, char *name, GList *checks); -Node *new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, GString *cbuf,int line_no,int ccode_line); +Node *new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, GString *cbuf,int line_no,int ccode_line, int vararg); Node *new_argument(char *gtktype, GList *flags, char *name, GString *get, int get_line, GString *set, int set_line, int line_no); Node *new_variable(int scope, Type *vtype, char *id,int line_no);