Revert "GI_TYPE_TAG_VOID != ffi_type_void"

This reverts commit 28cccba737ec2214da66b0d74059278162cf5fd0.
This commit is contained in:
Johan Dahlin 2009-12-15 11:00:52 -02:00
parent 91459565ef
commit 954312db60

View File

@ -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;
}