summaryrefslogtreecommitdiff
path: root/girepository/girffi.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-10-26 11:12:26 -0400
committerColin Walters <walters@verbum.org>2010-11-12 16:00:10 -0500
commitc8940a11562fd7b888595c6298e39836192fa3d7 (patch)
tree573d0afbceecc8bd0360e79b11666095470bd8d8 /girepository/girffi.c
parente876ad4fe073de44fc809400b166d6c4726f08f4 (diff)
downloadgobject-introspection-c8940a11562fd7b888595c6298e39836192fa3d7.tar.gz
Add support for gunichar in typelib
Some API such as gtk_text_iter_get_char returns an individual "gunichar"; we should support this. https://bugzilla.gnome.org/show_bug.cgi?id=633197
Diffstat (limited to 'girepository/girffi.c')
-rw-r--r--girepository/girffi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/girepository/girffi.c b/girepository/girffi.c
index c46d3d3c..d2afca0a 100644
--- a/girepository/girffi.c
+++ b/girepository/girffi.c
@@ -56,6 +56,7 @@ gi_type_tag_get_ffi_type (GITypeTag tag,
case GI_TYPE_TAG_INT32:
return &ffi_type_sint32;
case GI_TYPE_TAG_UINT32:
+ case GI_TYPE_TAG_UNICHAR:
return &ffi_type_uint32;
case GI_TYPE_TAG_INT64:
return &ffi_type_sint64;