]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: make GLib.Pid inherit from int
authorEvan Nemerson <evan@coeus-group.com>
Wed, 20 Jun 2012 18:39:33 +0000 (11:39 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Wed, 20 Jun 2012 18:43:43 +0000 (11:43 -0700)
Partially fixes bug 678420.

vapi/glib-2.0.vapi

index b5b3783535ba56be29e73c7ba23451645845eaad..cf900139b0121b39edb7f6345e8c9d73a9dfd6a5 100644 (file)
@@ -1547,7 +1547,7 @@ namespace GLib {
 
        [CCode (type_id = "G_TYPE_INT", marshaller_type_name = "INT", get_value_function = "g_value_get_int", set_value_function = "g_value_set_int", default_value = "0")]
        [IntegerType (rank = 6)]
-       public struct Pid {
+       public struct Pid : int {
        }
 
        public delegate void ChildWatchFunc (Pid pid, int status);