2007-03-20 Jürg Billeter <j@bitron.ch>
* vala/valasymbolresolver.vala: add GObject to the list of base types
* vapi/glib-2.0.vala: add ref and unref methods to GObject
svn path=/trunk/; revision=248
2007-03-20 Jürg Billeter <j@bitron.ch>
+ * vala/valasymbolresolver.vala: add GObject to the list of base types
+ * vapi/glib-2.0.vala: add ref and unref methods to GObject
+
+2007-03-20 Jürg Billeter <j@bitron.ch>
+
* vala/valaparser.vala, vala/valasemanticanalyzer.vala,
vala/valamemorymanager.vala, vala/valacodegenerator.vala,
vala/valacallback.vala, vala/valainvocationexpression.vala,
}
}
if (cl.base_class == null && cl != object_class) {
+ var object_type = new TypeReference ();
+ object_type.data_type = object_class;
+ cl.add_base_type (object_type);
cl.base_class = object_class;
}
[CCode (cheader_filename = "glib-object.h")]
public abstract class Object {
+ public Object @ref ();
+ public void unref ();
+ public Object ref_sink ();
[NoArrayLength ()]
public virtual Object constructor (Type type, uint n_construct_properties, ObjectConstructParam[] construct_properties);
}