2 * Copyright (C) 1999 the Free Software Foundation.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
38 typedef union _Node Node;
40 typedef struct _CCode CCode;
48 typedef struct _Class Class;
51 char *otype; /*this object class type*/
52 char *ptype; /*parent class type*/
56 typedef struct _Type Type;
74 typedef struct _Check Check;
81 typedef struct _FuncArg FuncArg;
89 typedef struct _Argument Argument;
113 typedef struct _Method Method;
118 char *otype; /*for override methods*/
119 GList *gtktypes; /*GTK types for a signal*/
128 typedef struct _Variable Variable;
147 Node *new_ccode(int header, GString *cbuf, int line_no);
148 Node *new_class(char *otype, char *ptype, GList *nodes);
149 Node *new_type(int stars, char *name);
150 Node *new_check(int chtype, char *number);
151 Node *new_funcarg(Type *atype, char *name, GList *checks);
152 Node *new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, GString *cbuf,int line_no,int ccode_line);
153 Node *new_argument(char *gtktype, GList *flags, char *name, GString *get, int get_line, GString *set, int set_line);
154 Node *new_variable(int scope, Type *vtype, char *id);