]> git.draconx.ca Git - gob-dx.git/blobdiff - src/treefuncs.h
Modernize build system a bit.
[gob-dx.git] / src / treefuncs.h
diff --git a/src/treefuncs.h b/src/treefuncs.h
deleted file mode 100644 (file)
index 325eb98..0000000
+++ /dev/null
@@ -1,262 +0,0 @@
-/* Generated by generate_treefuncs.pl from treefuncs.def!
- * Do not edit by hand! */
-
-
-#ifndef TREEFUNCS_H
-#define TREEFUNCS_H
-
-/* for ccode type */
-enum {
-       A_CCODE,
-       AT_CCODE,
-       C_CCODE,
-       AD_CCODE,
-       H_CCODE,
-       HT_CCODE,
-       PH_CCODE,
-       CT_CCODE
-};
-
-/* check type */
-enum {
-       NULL_CHECK,
-       TYPE_CHECK,
-       LT_CHECK,
-       GT_CHECK,
-       LE_CHECK,
-       GE_CHECK,
-       EQ_CHECK,
-       NE_CHECK
-};
-
-/* scope type */
-enum {
-       NO_SCOPE,
-       PUBLIC_SCOPE,
-       PRIVATE_SCOPE,
-       PROTECTED_SCOPE,
-       CLASS_SCOPE
-};
-
-/* method type */
-enum {
-       REGULAR_METHOD,
-       INIT_METHOD,
-       CLASS_INIT_METHOD,
-       CONSTRUCTOR_METHOD,
-       DISPOSE_METHOD,
-       FINALIZE_METHOD,
-       VIRTUAL_METHOD,
-       SIGNAL_LAST_METHOD,
-       SIGNAL_FIRST_METHOD,
-       OVERRIDE_METHOD
-};
-
-
-
-typedef long NodeType;
-enum {
-       CLASS_NODE,
-       TYPE_NODE,
-       CCODE_NODE,
-       CHECK_NODE,
-       FUNCARG_NODE,
-       ARGUMENT_NODE,
-       PROPERTY_NODE,
-       METHOD_NODE,
-       VARIABLE_NODE,
-       ENUMDEF_NODE,
-       ENUMVALUE_NODE,
-       FLAGS_NODE,
-       ERROR_NODE,
-       LAST_NODE_TYPE
-};
-
-typedef union _Node Node;
-typedef struct _Class Class;
-typedef struct _Type Type;
-typedef struct _CCode CCode;
-typedef struct _Check Check;
-typedef struct _FuncArg FuncArg;
-typedef struct _Argument Argument;
-typedef struct _Property Property;
-typedef struct _Method Method;
-typedef struct _Variable Variable;
-typedef struct _EnumDef EnumDef;
-typedef struct _EnumValue EnumValue;
-typedef struct _Flags Flags;
-typedef struct _Error Error;
-
-
-struct _Argument {
-       NodeType type;
-       char * gtktype;
-       Type * atype;
-       GList * flags;
-       char * name;
-       char * get;
-       int get_line;
-       char * set;
-       int set_line;
-       int line_no;
-};
-
-struct _CCode {
-       NodeType type;
-       int cctype;
-       char * cbuf;
-       int line_no;
-};
-
-struct _Check {
-       NodeType type;
-       int chtype;
-       char * number;
-};
-
-struct _Class {
-       NodeType type;
-       char * otype;
-       char * ptype;
-       char * bonobo_object_class;
-       gboolean glade_xml;
-       char * chunk_size;
-       GList * interfaces;
-       GList * nodes;
-       gboolean abstract;
-};
-
-struct _EnumDef {
-       NodeType type;
-       char * etype;
-       char * prefix;
-       GList * values;
-};
-
-struct _EnumValue {
-       NodeType type;
-       char * name;
-       char * value;
-};
-
-struct _Error {
-       NodeType type;
-       char * etype;
-       char * prefix;
-       GList * values;
-};
-
-struct _Flags {
-       NodeType type;
-       char * ftype;
-       char * prefix;
-       GList * values;
-};
-
-struct _FuncArg {
-       NodeType type;
-       Type * atype;
-       char * name;
-       GList * checks;
-};
-
-struct _Method {
-       NodeType type;
-       int scope;
-       int method;
-       Type * mtype;
-       char * otype;
-       GList * gtktypes;
-       GList * flags;
-       char * signal_name;
-       char * id;
-       GList * args;
-       char * funcattrs;
-       char * onerror;
-       char * defreturn;
-       char * cbuf;
-       int line_no;
-       int ccode_line;
-       gboolean vararg;
-       int unique_id;
-       gboolean bonobo_object_func;
-       char * interface;
-};
-
-struct _Property {
-       NodeType type;
-       char * gtktype;
-       Type * ptype;
-       GList * flags;
-       char * name;
-       char * canonical_name;
-       char * nick;
-       char * blurb;
-       char * minimum;
-       char * maximum;
-       char * default_value;
-       char * extra_gtktype;
-       gboolean override;
-       gboolean link;
-       gboolean export;
-       char * get;
-       int get_line;
-       char * set;
-       int set_line;
-       int line_no;
-};
-
-struct _Type {
-       NodeType type;
-       char * name;
-       char * pointer;
-       char * postfix;
-};
-
-struct _Variable {
-       NodeType type;
-       int scope;
-       Type * vtype;
-       gboolean glade_widget;
-       char * id;
-       int line_no;
-       gboolean destructor_unref;
-       char * destructor;
-       int destructor_line;
-       gboolean destructor_simple;
-       char * initializer;
-       int initializer_line;
-       gboolean initializer_simple;
-};
-
-union _Node {
-       NodeType type;
-       Argument argument;
-       CCode ccode;
-       Check check;
-       Class class;
-       EnumDef enumdef;
-       EnumValue enumvalue;
-       Error error;
-       Flags flags;
-       FuncArg funcarg;
-       Method method;
-       Property property;
-       Type _type;
-       Variable variable;
-};
-
-
-/* General copy/free functions */
-Node * node_copy (Node *node);
-void node_free (Node *node);
-
-GList * node_list_copy (GList *nodes);
-void node_list_free (GList *nodes);
-
-/* Node new/set functions */
-Node * node_new (NodeType type, ...);
-void node_set (Node *node, ...);
-
-
-#endif /* TREEFUNCS_H */