]> 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)
committerJürg Billeter <j@bitron.ch>
Sat, 23 Jun 2012 15:35:18 +0000 (17:35 +0200)
Partially fixes bug 678420.

vapi/glib-2.0.vapi

index 9dfb18ded94bfe6d83a291ad4b633976b2bb0cac..01bc8b308cdbc8fedec8300d1d23f4a49138b08d 100644 (file)
@@ -1755,7 +1755,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);