gobject-introspection r447 - in trunk: . tests/scanner
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r447 - in trunk: . tests/scanner
- Date: Fri, 22 Aug 2008 02:52:27 +0000 (UTC)
Author: walters
Date: Fri Aug 22 02:52:27 2008
New Revision: 447
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=447&view=rev
Log:
2008-08-21 Colin Walters <walters verbum org>
* tests/scanner/drawable-expected.gir,
* tests/scanner/drawable.c,
* tests/scanner/drawable.h:
Add a method.
Modified:
trunk/ChangeLog
trunk/tests/scanner/drawable-expected.gir
trunk/tests/scanner/drawable.c
trunk/tests/scanner/drawable.h
Modified: trunk/tests/scanner/drawable-expected.gir
==============================================================================
--- trunk/tests/scanner/drawable-expected.gir (original)
+++ trunk/tests/scanner/drawable-expected.gir Fri Aug 22 02:52:27 2008
@@ -8,6 +8,19 @@
parent="GObject.Object"
glib:type-name="TestDrawable"
glib:get-type="test_drawable_get_type">
+ <method name="do_foo" c:identifier="test_drawable_do_foo">
+ <return-value>
+ <type name="none" c:type="void"/>
+ </return-value>
+ <parameters>
+ <parameter name="drawable">
+ <type name="Drawable" c:type="TestDrawable*"/>
+ </parameter>
+ <parameter name="x">
+ <type name="int" c:type="int"/>
+ </parameter>
+ </parameters>
+ </method>
</class>
<record name="DrawableClass" c:type="TestDrawableClass">
<field name="parent_class">
Modified: trunk/tests/scanner/drawable.c
==============================================================================
--- trunk/tests/scanner/drawable.c (original)
+++ trunk/tests/scanner/drawable.c Fri Aug 22 02:52:27 2008
@@ -13,3 +13,9 @@
{
}
+
+void
+test_drawable_do_foo (TestDrawable *drawable, int x)
+{
+
+}
Modified: trunk/tests/scanner/drawable.h
==============================================================================
--- trunk/tests/scanner/drawable.h (original)
+++ trunk/tests/scanner/drawable.h Fri Aug 22 02:52:27 2008
@@ -18,6 +18,8 @@
GType test_drawable_get_type (void) G_GNUC_CONST;
+void test_drawable_do_foo (TestDrawable *drawable, int x);
+
struct _TestPixmapObjectClass
{
TestDrawableClass parent_class;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]