]> git.draconx.ca Git - gob-dx.git/blobdiff - src/tree.h
Release 0.92.4
[gob-dx.git] / src / tree.h
index 9d853297f8ebd4b968bc76152256d472814a7abb..9d3638fa2966265ba76521b62d148fdb43f867a0 100644 (file)
@@ -37,6 +37,8 @@ enum {
 
 /* for ccode type */
 enum {
+       A_CCODE,
+       AT_CCODE,
        C_CCODE,
        H_CCODE,
        HT_CCODE,
@@ -136,6 +138,7 @@ struct _Method {
        Type *mtype;
        char *otype; /*for override methods*/
        GList *gtktypes; /*GTK types for a signal*/
+       GList *flags; /* GTK_RUN_* flags for a signal */
        char *id;
        GList *args;
        char *onerror;
@@ -170,8 +173,13 @@ Node *new_class(char *otype, char *ptype, GList *nodes);
 Node *new_type(int stars, char *name, char *postfix);
 Node *new_check(int chtype, char *number);
 Node *new_funcarg(Type *atype, char *name, GList *checks);
-Node *new_method(int scope, int method, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, char *cbuf, int line_no, int ccode_line, gboolean vararg);
-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_method(int scope, int method, Type *mtype, char *otype,
+                GList *gtktypes, GList *flags, char *id, GList *args,
+                char *onerror, char *cbuf, int line_no, int ccode_line,
+                gboolean vararg);
+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_variable(int scope, Type *vtype, char *id,int line_no);
 
 #endif