[vala] gobject-2.0.vapi: Add get_class method that returns an ObjectClass



commit be7659da3fff890bebf976fdac291c28ff689ef3
Author: John Carr <john carr unrouted co uk>
Date:   Sat Oct 10 17:35:57 2009 +0200

    gobject-2.0.vapi: Add get_class method that returns an ObjectClass

 vapi/gobject-2.0.vapi |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 7018601..469ea85 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -188,6 +188,8 @@ namespace GLib {
 
 		[CCode (cname = "G_TYPE_FROM_INSTANCE")]
 		public Type get_type ();
+		[CCode (cname = "G_OBJECT_GET_CLASS")]
+		public unowned ObjectClass get_class ();
 		public weak Object @ref ();
 		public void unref ();
 		public Object ref_sink ();



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