summaryrefslogtreecommitdiff
path: root/tolua/src/tests/tvararg.pkg
diff options
context:
space:
mode:
Diffstat (limited to 'tolua/src/tests/tvararg.pkg')
-rw-r--r--tolua/src/tests/tvararg.pkg17
1 files changed, 17 insertions, 0 deletions
diff --git a/tolua/src/tests/tvararg.pkg b/tolua/src/tests/tvararg.pkg
new file mode 100644
index 0000000..0ab6d88
--- /dev/null
+++ b/tolua/src/tests/tvararg.pkg
@@ -0,0 +1,17 @@
+$#include "tvararg.h"
+
+struct B
+{
+ static int n;
+ B();
+ ~B();
+};
+
+class A
+{
+ A();
+ double get (int i) ;
+ tolua_index bounce (tolua_index i, tolua_index *j, tolua_index* k=0);
+ double add (lua_State* L);
+ tolua_own B* GetB ();
+};