summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2018-03-27 10:15:42 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-03-27 10:17:17 +0200
commitd41165bebb030cc6d5476d9b7dfeca7a07cbc032 (patch)
treeef262001b594c73d5deefe872eabfe71b7a8c62d
parent801f6fa1e01952e8d41d31d057a20d4373dfbe60 (diff)
downloadvala-d41165bebb030cc6d5476d9b7dfeca7a07cbc032.tar.gz
glib-2.0: Use g_value_*et_schar instead of depecated g_value_*et_char
g_value_get_char is broken on platforms where the char type is unsigned, such as ARM and PowerPC.
-rw-r--r--vapi/glib-2.0.vapi2
1 files changed, 1 insertions, 1 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 82785747e..823d817c2 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -64,7 +64,7 @@ public struct bool {
[SimpleType]
[GIR (name = "gint8")]
-[CCode (cname = "gchar", cprefix = "g_ascii_", cheader_filename = "glib.h", type_id = "G_TYPE_CHAR", marshaller_type_name = "CHAR", get_value_function = "g_value_get_char", set_value_function = "g_value_set_char", default_value = "\'\\0\'", type_signature = "y")]
+[CCode (cname = "gchar", cprefix = "g_ascii_", cheader_filename = "glib.h", type_id = "G_TYPE_CHAR", marshaller_type_name = "CHAR", get_value_function = "g_value_get_schar", set_value_function = "g_value_set_schar", default_value = "\'\\0\'", type_signature = "y")]
[IntegerType (rank = 2, min = 0, max = 127)]
public struct char {
[CCode (cname = "g_strdup_printf", instance_pos = -1)]