Refactor out g_idle_node_add_member. (create_node_from_gtype,
authorJohan Dahlin <johan@gnome.org>
Fri, 11 Jan 2008 23:59:49 +0000 (23:59 +0000)
committerJohan Dahlin <johan@src.gnome.org>
Fri, 11 Jan 2008 23:59:49 +0000 (23:59 +0000)
commite9c38bbb98969079a19722b8ee3847216fe190bd
treebf5f00ffd665a6d615667efed1a4385b2e0a0592
parent505199e3497eee8105b1a66dbc8d1bab3c762e35
Refactor out g_idle_node_add_member. (create_node_from_gtype,

2008-01-11  Johan Dahlin  <johan@gnome.org>

* src/scanner.c (g_igenerator_process_function_symbol):
Refactor out g_idle_node_add_member.
(create_node_from_gtype, create_node_from_ctype):
Use case instead of if...else
(get_type_from_type_id):
Rename to create_node_from_gtype
(get_type_from_ctype):
Rename to create_node_from_ctype

Rename ginode -> node, gitype -> type, gifunc -> func.

* src/gidlnode.c (g_idl_node_add_member, g_idl_node_cmp):
Two new functions, refactor out of scanner.c

svn path=/trunk/; revision=99
ChangeLog
src/gidlnode.c
src/gidlnode.h
src/scanner.c