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;
47 typedef struct _Class Class;
50 char *otype; /*this object class type*/
51 char *ptype; /*parent class type*/
55 typedef struct _Type Type;
73 typedef struct _Check Check;
80 typedef struct _FuncArg FuncArg;
88 typedef struct _Argument Argument;
110 typedef struct _Method Method;
115 char *otype; /*for override methods*/
116 GList *gtktypes; /*GTK types for a signal*/
124 typedef struct _Variable Variable;
143 Node *new_ccode(int header, GString *cbuf);
144 Node *new_class(char *otype, char *ptype, GList *nodes);
145 Node *new_type(int stars, char *name);
146 Node *new_check(int chtype, char *number);
147 Node *new_funcarg(Type *atype, char *name, GList *checks);
148 Node *new_method(int scope, Type *mtype, char *otype, GList *gtktypes, char *id, GList *args, char *onerror, GString *cbuf,int line_no);
149 Node *new_argument(char *gtktype, GList *flags, char *name, GString *get, GString *set);
150 Node *new_variable(int scope, Type *vtype, char *id);