diff options
author | Colin Walters <walters@verbum.org> | 2010-11-16 15:08:33 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-11-16 16:58:39 -0500 |
commit | c5cf4ecb0a393af0c9c7cd68859a2e481b6586d2 (patch) | |
tree | d5210313f985b4c8b2ddceafa73de6c97db82e1d /girepository/girnode.h | |
parent | 3af5038eefaabc50fb806f71780a31986e6c265b (diff) | |
download | gobject-introspection-c5cf4ecb0a393af0c9c7cd68859a2e481b6586d2.tar.gz |
girepository: Consistently prefix internal functions with _
This should better avoid them being exported. Rename
girepository-parser.la to girepository-internals.la for clarity.
Diffstat (limited to 'girepository/girnode.h')
-rw-r--r-- | girepository/girnode.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/girepository/girnode.h b/girepository/girnode.h index 0df10088..e215e2cd 100644 --- a/girepository/girnode.h +++ b/girepository/girnode.h @@ -354,36 +354,36 @@ struct _GIrNodeErrorDomain }; -GIrNode * g_ir_node_new (GIrNodeTypeId type, +GIrNode * _g_ir_node_new (GIrNodeTypeId type, GIrModule *module); -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, - GIrNode *parent, - GIrTypelibBuild *build, - guint32 *offset, - guint32 *offset2); -int g_ir_node_cmp (GIrNode *node, +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, + GIrNode *parent, + GIrTypelibBuild *build, + guint32 *offset, + guint32 *offset2); +int _g_ir_node_cmp (GIrNode *node, GIrNode *other); -gboolean g_ir_node_can_have_member (GIrNode *node); -void g_ir_node_add_member (GIrNode *node, - GIrNodeFunction *member); -guint32 write_string (const gchar *str, - GHashTable *strings, - guchar *data, - guint32 *offset); - -const gchar * g_ir_node_param_direction_string (GIrNodeParam * node); -const gchar * g_ir_node_type_to_string (GIrNodeTypeId type); - -GIrNode *g_ir_find_node (GIrTypelibBuild *build, +gboolean _g_ir_node_can_have_member (GIrNode *node); +void _g_ir_node_add_member (GIrNode *node, + GIrNodeFunction *member); +guint32 _g_ir_write_string (const gchar *str, + GHashTable *strings, + guchar *data, + guint32 *offset); + +const gchar * _g_ir_node_param_direction_string (GIrNodeParam * node); +const gchar * _g_ir_node_type_to_string (GIrNodeTypeId type); + +GIrNode *_g_ir_find_node (GIrTypelibBuild *build, GIrModule *module, const char *name); /* In giroffsets.c */ -void g_ir_node_compute_offsets (GIrTypelibBuild *build, +void _g_ir_node_compute_offsets (GIrTypelibBuild *build, GIrNode *node); |