mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
Revert "GI_TYPE_TAG_VOID != ffi_type_void"
This reverts commit 28cccba737ec2214da66b0d74059278162cf5fd0.
This commit is contained in:
parent
91459565ef
commit
954312db60
3
girffi.c
3
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user