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