gobject-introspection r156 - in trunk: . tests/parser
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r156 - in trunk: . tests/parser
- Date: Tue, 11 Mar 2008 23:32:36 +0000 (GMT)
Author: johan
Date: Tue Mar 11 23:32:36 2008
New Revision: 156
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=156&view=rev
Log:
2008-03-12 Johan Dahlin <johan gnome org>
* tests/parser/utility-expected.gidl:
* tests/parser/utility.h:
Add a get_type-function, so the scanner actually
parses it as an object.
Modified:
trunk/ChangeLog
trunk/tests/parser/utility-expected.gidl
trunk/tests/parser/utility.h
Modified: trunk/tests/parser/utility-expected.gidl
==============================================================================
--- trunk/tests/parser/utility-expected.gidl (original)
+++ trunk/tests/parser/utility-expected.gidl Tue Mar 11 23:32:36 2008
@@ -1,11 +1,7 @@
<?xml version="1.0"?>
<api version="1.0">
<namespace name="utility">
- <struct name="UtilityObject">
- <field name="parent_instance" type="GObject"/>
- </struct>
- <struct name="UtilityObjectClass">
- <field name="parent_class" type="GObjectClass"/>
- </struct>
+ <object name="UtilityObject" parent="GObject" type-name="UtilityObject" get-type="utility_object_get_type">
+ </object>
</namespace>
</api>
Modified: trunk/tests/parser/utility.h
==============================================================================
--- trunk/tests/parser/utility.h (original)
+++ trunk/tests/parser/utility.h Tue Mar 11 23:32:36 2008
@@ -20,4 +20,6 @@
GObjectClass parent_class;
};
+GType utility_object_get_type (void) G_GNUC_CONST;
+
#endif /* __UTILITY_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]