Permalink
Browse files

Handle raw unicode character type in conversions

  • Loading branch information...
1 parent 6af8a02 commit fcf90564255c9b870cea9fc2daa0c118091eaaaa @zpmorgan committed Sep 4, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 gperl-i11n-marshal-raw.c
View
@@ -39,6 +39,7 @@ raw_to_arg (gpointer raw, GIArgument *arg, GITypeInfo *info)
break;
case GI_TYPE_TAG_UINT32:
+ case GI_TYPE_TAG_UNICHAR:
arg->v_uint32 = CAST_RAW (raw, guint32);
break;
@@ -116,6 +117,7 @@ arg_to_raw (GIArgument *arg, gpointer raw, GITypeInfo *info)
break;
case GI_TYPE_TAG_UINT32:
+ case GI_TYPE_TAG_UNICHAR:
* (guint32 *) raw = arg->v_uint32;
break;

0 comments on commit fcf9056

Please sign in to comment.