Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/girepository/girnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'girepository/girnode.h')
-rw-r--r--girepository/girnode.h21
1 files changed, 13 insertions, 8 deletions
diff --git a/girepository/girnode.h b/girepository/girnode.h
index fad6799..33848db 100644
--- a/girepository/girnode.h
+++ b/girepository/girnode.h
@@ -27,6 +27,7 @@
G_BEGIN_DECLS
+typedef struct _GIrTypelibBuild GIrTypelibBuild;
typedef struct _GIrNode GIrNode;
typedef struct _GIrNodeFunction GIrNodeFunction;
typedef struct _GIrNodeParam GIrNodeParam;
@@ -45,6 +46,14 @@ typedef struct _GIrNodeErrorDomain GIrNodeErrorDomain;
typedef struct _GIrNodeXRef GIrNodeXRef;
typedef struct _GIrNodeUnion GIrNodeUnion;
+struct _GIrTypelibBuild {
+ GIrModule *module;
+ GList *modules;
+ GHashTable *strings;
+ GHashTable *types;
+ guchar *data;
+};
+
typedef enum
{
G_IR_NODE_INVALID = 0,
@@ -340,14 +349,10 @@ GIrNode * g_ir_node_new (GIrNodeTypeId type);
void g_ir_node_free (GIrNode *node);
guint32 g_ir_node_get_size (GIrNode *node);
guint32 g_ir_node_get_full_size (GIrNode *node);
-void g_ir_node_build_typelib (GIrNode *node,
- GIrModule *module,
- GList *modules,
- GHashTable *strings,
- GHashTable *types,
- guchar *data,
- guint32 *offset,
- guint32 *offset2);
+void g_ir_node_build_typelib (GIrNode *node,
+ GIrTypelibBuild *build,
+ guint32 *offset,
+ guint32 *offset2);
int g_ir_node_cmp (GIrNode *node,
GIrNode *other);
gboolean g_ir_node_can_have_member (GIrNode *node);