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 /tools | |
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 'tools')
-rw-r--r-- | tools/compiler.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/compiler.c b/tools/compiler.c index 8306c7da..7432760a 100644 --- a/tools/compiler.c +++ b/tools/compiler.c @@ -174,11 +174,11 @@ main (int argc, char ** argv) for (i = 0; includedirs[i]; i++) g_irepository_prepend_search_path (includedirs[i]); - parser = g_ir_parser_new (); + parser = _g_ir_parser_new (); - g_ir_parser_set_includes (parser, (const char*const*) includedirs); + _g_ir_parser_set_includes (parser, (const char*const*) includedirs); - module = g_ir_parser_parse_file (parser, input[0], &error); + module = _g_ir_parser_parse_file (parser, input[0], &error); if (module == NULL) { g_fprintf (stderr, "error parsing file %s: %s\n", @@ -203,7 +203,7 @@ main (int argc, char ** argv) g_debug ("[building] module %s", module->name); - typelib = g_ir_module_build_typelib (module); + typelib = _g_ir_module_build_typelib (module); if (typelib == NULL) g_error ("Failed to build typelib for module '%s'\n", module->name); if (!g_typelib_validate (typelib, &error)) @@ -219,7 +219,7 @@ main (int argc, char ** argv) #if 0 /* No point */ - g_ir_parser_free (parser); + _g_ir_parser_free (parser); #endif return 0; |