summaryrefslogtreecommitdiffstats
path: root/test/input
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-26 21:42:09 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-21 21:06:39 (GMT)
commit4dc642dd1ab2f4bcf3f212ae7a4f6ede636ab3b2 (patch)
treee2bf7c13b8840d91a12c60718610db5c9155105d /test/input
parent317e88fd4d6f77cb6e21666690c8fcdbad23a153 (diff)
downloadCastXML-4dc642dd1ab2f4bcf3f212ae7a4f6ede636ab3b2.zip
CastXML-4dc642dd1ab2f4bcf3f212ae7a4f6ede636ab3b2.tar.gz
CastXML-4dc642dd1ab2f4bcf3f212ae7a4f6ede636ab3b2.tar.bz2
Output: Generate FunctionType elements
Implement the OutputFunctionProtoType method to generate the FunctionType element. Report the return type. Inside the FunctionType element generate Argument elements describing the function type parameter types. For each argument report the type and queue it. Create a OutputFunctionTypeHelper method to hold the main implementation and call it from OutputFunctionProtoType with the "FunctionType" name as an argument. This will allow it to be re-used for other function types later.
Diffstat (limited to 'test/input')
-rw-r--r--test/input/FunctionType.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/input/FunctionType.cxx b/test/input/FunctionType.cxx
new file mode 100644
index 0000000..9b238a3
--- /dev/null
+++ b/test/input/FunctionType.cxx
@@ -0,0 +1 @@
+typedef void start(int);