Skip to content

Commit f63e670

Browse files
committed
Wire up some more
1 parent bd730a1 commit f63e670

File tree

12 files changed

+284
-2202
lines changed

12 files changed

+284
-2202
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
static GHashTable * pygobject_type_spec_by_type;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
static void
2+
PyGObject_class_init (void)
3+
{
4+
pygobject_type_spec_by_type = g_hash_table_new_full (NULL, NULL, NULL, NULL);
5+
}
6+
7+
static void
8+
PyGObject_register_type (GType instance_type, PyGObjectType * python_type)
9+
{
10+
g_hash_table_insert (pygobject_type_spec_by_type, GSIZE_TO_POINTER (instance_type), python_type);
11+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
static void PyGObject_class_init (void);
2+
static void PyGObject_register_type (GType instance_type, PyGObjectType * python_type);

0 commit comments

Comments
 (0)