[vala] glib-2.0: make GLib.Pid inherit from int



commit 814b29b1a662efcd9e3990acdf1c04af05e05ced
Author: Evan Nemerson <evan coeus-group com>
Date:   Wed Jun 20 11:39:33 2012 -0700

    glib-2.0: make GLib.Pid inherit from int
    
    Partially fixes bug 678420.

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index b5b3783..cf90013 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]