summaryrefslogtreecommitdiff
path: root/tests/function.gir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/function.gir')
-rw-r--r--tests/function.gir24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/function.gir b/tests/function.gir
new file mode 100644
index 00000000..cabeb2e8
--- /dev/null
+++ b/tests/function.gir
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<repository version="1.0"
+ xmlns="http://www.gtk.org/introspection/core/1.0"
+ xmlns:c="http://www.gtk.org/introspection/c/1.0"
+ xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
+ <namespace name="Foo">
+ <boxed name="Boxed1" type-name="Boxed1" get-type="boxed1_get_type">
+ </boxed>
+ <function name="test1" symbol="test1" deprecated="1">
+ <return-type type="gboolean" />
+ <parameters>
+ <parameter name="p1" type="Boxed1*" transfer="full" direction="in" null-ok="1" />
+ <parameter name="p2" type="gboolean" direction="out" />
+ </parameters>
+ </function>
+ <callback name="callback1" deprecated="1">
+ <return-type type="gboolean" />
+ <parameters>
+ <parameter name="p1" type="Boxed1*" transfer="full" direction="in" null-ok="1" />
+ <parameter name="p2" type="gboolean" direction="out" />
+ </parameters>
+ </callback>
+ </namespace>
+</repository>