From 8c4528713d907ee2cfd3bfcbbad272c749867f84 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 25 Jun 2013 22:59:01 +0000 Subject: Imported from /home/lorry/working-area/delta_boost-tarball/boost_1_54_0.tar.bz2. --- libs/python/pyste/tests/code_test.pyste | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 libs/python/pyste/tests/code_test.pyste (limited to 'libs/python/pyste/tests/code_test.pyste') diff --git a/libs/python/pyste/tests/code_test.pyste b/libs/python/pyste/tests/code_test.pyste new file mode 100644 index 000000000..467996fdb --- /dev/null +++ b/libs/python/pyste/tests/code_test.pyste @@ -0,0 +1,9 @@ +Class('A', 'code_test.h') +Include('string') +declaration_code(''' +int get(A& a) { return a.x; } + +std::string foo() { return "Hello!"; } +''') +module_code(' def("get", &get);\n') +module_code(' def("foo", &foo);\n') -- cgit v1.2.1