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;
149 gboolean destructor_simple;
151 int initializer_line;
167 Node * new_argument (char * gtktype, Type * atype, GList * flags, char * name, char * get, int get_line, char * set, int set_line, int line_no);
168 Node * new_ccode (int cctype, char * cbuf, int line_no);
169 Node * new_check (int chtype, char * number);
170 Node * new_class (char * otype, char * ptype, GList * nodes);
171 Node * new_funcarg (Type * atype, char * name, GList * checks);
172 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);
173 Node * new_type (int stars, char * name, char * postfix);
174 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);
176 /* General copy/free functions */
177 Node * copy_node(Node *node);
178 void free_node(Node *node);
180 GList * copy_node_list(GList *nodes);
181 void free_node_list(GList *nodes);
184 Argument * copy_argument (Argument * self);
185 CCode * copy_ccode (CCode * self);
186 Check * copy_check (Check * self);
187 Class * copy_class (Class * self);
188 FuncArg * copy_funcarg (FuncArg * self);
189 Method * copy_method (Method * self);
190 Type * copy_type (Type * self);
191 Variable * copy_variable (Variable * self);
194 void free_argument (Argument * self);
195 void free_ccode (CCode * self);
196 void free_check (Check * self);
197 void free_class (Class * self);
198 void free_funcarg (FuncArg * self);
199 void free_method (Method * self);
200 void free_type (Type * self);
201 void free_variable (Variable * self);
203 #endif /*_TREEFUNCS_H_*/