mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
Coding style fixes
2008-03-11 Johan Dahlin <johan@gnome.org> * tools/compiler.c (main): Coding style fixes svn path=/trunk/; revision=144
This commit is contained in:
parent
048debb50b
commit
f9f1d8e4c8
@ -150,20 +150,20 @@ main (int argc, char ** argv)
|
||||
* A method of finding out if an external reference is
|
||||
* needed
|
||||
*/
|
||||
for (c=module->entries; c; c = c->next)
|
||||
for (c = module->entries; c; c = c->next)
|
||||
{
|
||||
GIdlNode *node = (GIdlNode*) c->data;
|
||||
|
||||
g_idl_compiler_add_entry(ctx, node);
|
||||
g_idl_compiler_add_entry (ctx, node);
|
||||
}
|
||||
|
||||
for (c=module->entries; c; c = c->next)
|
||||
for (c = module->entries; c; c = c->next)
|
||||
{
|
||||
GIdlNode *node = (GIdlNode*) c->data;
|
||||
|
||||
entry_id = g_idl_compiler_get_entry_id(ctx, node->name);
|
||||
entry_id = g_idl_compiler_get_entry_id (ctx, node->name);
|
||||
|
||||
g_idl_compiler_write_node(node, entry_id, ctx);
|
||||
g_idl_compiler_write_node (node, entry_id, ctx);
|
||||
}
|
||||
|
||||
if (output == NULL)
|
||||
@ -190,9 +190,9 @@ main (int argc, char ** argv)
|
||||
g_free (filename);
|
||||
}
|
||||
|
||||
g_idl_compiler_context_finalize(ctx, file, module->shared_library, &err);
|
||||
g_idl_compiler_context_finalize (ctx, file, module->shared_library, &err);
|
||||
|
||||
g_idl_compiler_context_destroy(ctx);
|
||||
g_idl_compiler_context_destroy (ctx);
|
||||
|
||||
/* when writing to stdout, stop after the first module */
|
||||
if (m->next && !output && !mname)
|
||||
|
Loading…
Reference in New Issue
Block a user