summaryrefslogtreecommitdiff
path: root/girepository/girffi.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2009-12-15 11:00:52 -0200
committerJohan Dahlin <johan@gnome.org>2009-12-15 11:00:52 -0200
commit8f252ababb6cb5948473636e4592f10ea1b8aebb (patch)
tree76de2fe266594086c013881c5d32da6b943b8ff3 /girepository/girffi.c
parentc3ba50927516a34d913c02ca606b2f7718d60bd7 (diff)
downloadgobject-introspection-8f252ababb6cb5948473636e4592f10ea1b8aebb.tar.gz
Revert "GI_TYPE_TAG_VOID != ffi_type_void"
This reverts commit 28cccba737ec2214da66b0d74059278162cf5fd0.
Diffstat (limited to 'girepository/girffi.c')
-rw-r--r--girepository/girffi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/girepository/girffi.c b/girepository/girffi.c
index d67cbf65..c057afaf 100644
--- a/girepository/girffi.c
+++ b/girepository/girffi.c
@@ -34,6 +34,8 @@ g_ir_ffi_get_ffi_type (GITypeTag tag)
{
switch (tag)
{
+ case GI_TYPE_TAG_VOID:
+ return &ffi_type_void;
case GI_TYPE_TAG_BOOLEAN:
return &ffi_type_uint;
case GI_TYPE_TAG_INT8:
@@ -101,7 +103,6 @@ g_ir_ffi_get_ffi_type (GITypeTag tag)
case GI_TYPE_TAG_GSLIST:
case GI_TYPE_TAG_GHASH:
case GI_TYPE_TAG_ERROR:
- case GI_TYPE_TAG_VOID:
return &ffi_type_pointer;
}