1 /* Generated by generate_treefuncs.pl from treefuncs.def!
2 * Do not edit by hand! */
64 typedef union _Node Node;
65 typedef struct _Class Class;
66 typedef struct _Type Type;
67 typedef struct _CCode CCode;
68 typedef struct _Check Check;
69 typedef struct _FuncArg FuncArg;
70 typedef struct _Argument Argument;
71 typedef struct _Method Method;
72 typedef struct _Variable Variable;
148 gboolean destructor_simple;
150 int initializer_line;
166 Node * new_argument (char * gtktype, Type * atype, GList * flags, char * name, char * get, int get_line, char * set, int set_line, int line_no);
167 Node * new_ccode (int cctype, char * cbuf, int line_no);
168 Node * new_check (int chtype, char * number);
169 Node * new_class (char * otype, char * ptype, GList * nodes);
170 Node * new_funcarg (Type * atype, char * name, GList * checks);
171 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);
172 Node * new_type (int stars, char * name, char * postfix);
173 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);
175 /* General copy/free functions */
176 Node * copy_node(Node *node);
177 void free_node(Node *node);
179 GList * copy_node_list(GList *nodes);
180 void free_node_list(GList *nodes);
183 Argument * copy_argument (Argument * self);
184 CCode * copy_ccode (CCode * self);
185 Check * copy_check (Check * self);
186 Class * copy_class (Class * self);
187 FuncArg * copy_funcarg (FuncArg * self);
188 Method * copy_method (Method * self);
189 Type * copy_type (Type * self);
190 Variable * copy_variable (Variable * self);
193 void free_argument (Argument * self);
194 void free_ccode (CCode * self);
195 void free_check (Check * self);
196 void free_class (Class * self);
197 void free_funcarg (FuncArg * self);
198 void free_method (Method * self);
199 void free_type (Type * self);
200 void free_variable (Variable * self);
202 #endif /*_TREEFUNCS_H_*/