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