summaryrefslogtreecommitdiff
path: root/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestNoPtrCallback.page
diff options
context:
space:
mode:
authorBen Iofel <iofelben@gmail.com>2015-09-25 15:11:17 -0400
committerColin Walters <walters@verbum.org>2015-10-19 18:00:58 -0400
commitd9a6824b2dd373f7bd3d3b3f434d2fe7069eaa51 (patch)
treee14a47b2f213a3d363cb313f8921da2281ccbf2d /tests/scanner/Regress-1.0-Gjs-expected/Regress.TestNoPtrCallback.page
parent5341da3520ef513e5a7c49e2d8737bb3f2341a3d (diff)
downloadgobject-introspection-d9a6824b2dd373f7bd3d3b3f434d2fe7069eaa51.tar.gz
Add support for function typedefs without pointer
g-ir-scanner now supports something like this: typedef void my_callback(int); Notice how my_callback is not a pointer. https://bugzilla.gnome.org/show_bug.cgi?id=755645
Diffstat (limited to 'tests/scanner/Regress-1.0-Gjs-expected/Regress.TestNoPtrCallback.page')
-rw-r--r--tests/scanner/Regress-1.0-Gjs-expected/Regress.TestNoPtrCallback.page19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestNoPtrCallback.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestNoPtrCallback.page
new file mode 100644
index 00000000..7dd66f4d
--- /dev/null
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestNoPtrCallback.page
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<page id="Regress.TestNoPtrCallback"
+ type="topic"
+ style="callback"
+ xmlns="http://projectmallard.org/1.0/"
+ xmlns:api="http://projectmallard.org/experimental/api/"
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
+ <info>
+ <link xref="index" group="callback" type="guide"/>
+ </info>
+ <title>Regress.TestNoPtrCallback</title>
+ <synopsis><code mime="text/x-gjs">
+function onTestNoPtrCallback(): void {
+}
+ </code></synopsis>
+
+
+
+</page>