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;
109 PRIVATE_VIRTUAL_METHOD,
112 PRIVATE_SIGNAL_LAST_METHOD,
113 PRIVATE_SIGNAL_FIRST_METHOD,
117 typedef struct _Method Method;
122 char *otype; /*for override methods*/
123 GList *gtktypes; /*GTK types for a signal*/
133 typedef struct _Variable Variable;
153 Node *new_ccode(int header, GString *cbuf, int line_no);
154 Node *new_class(char *otype, char *ptype, GList *nodes);
155 Node *new_type(int stars, char *name);
156 Node *new_check(int chtype, char *number);
157 Node *new_funcarg(Type *atype, char *name, GList *checks);
158 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, int vararg);
159 Node *new_argument(char *gtktype, GList *flags, char *name, GString *get, int get_line, GString *set, int set_line, int line_no);
160 Node *new_variable(int scope, Type *vtype, char *id,int line_no);