diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-09 14:14:05 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-09 14:14:05 +0200 |
commit | 5c37d14e53c729c10d87849408058031d96d51f1 (patch) | |
tree | a7608265d23af6f4b60c701caacdea5babfb9d52 /tests/tolua/libtest1/TestMod.pkg | |
parent | 773bcc7ccd52dc72114b293bba9dbca1e9ae054a (diff) | |
download | crawler-5c37d14e53c729c10d87849408058031d96d51f1.tar.gz crawler-5c37d14e53c729c10d87849408058031d96d51f1.tar.bz2 |
backported C++ string handling from tolua++ to tolua
added test for string parameter in tolua test
adapted google normalizer example in crawl.conf
Diffstat (limited to 'tests/tolua/libtest1/TestMod.pkg')
-rw-r--r-- | tests/tolua/libtest1/TestMod.pkg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tolua/libtest1/TestMod.pkg b/tests/tolua/libtest1/TestMod.pkg index 4fed1d3..2bb4ebc 100644 --- a/tests/tolua/libtest1/TestMod.pkg +++ b/tests/tolua/libtest1/TestMod.pkg @@ -1,5 +1,9 @@ $#include "TestMod.hpp" +$#include <string> + +$using namespace std; + class Derived : public Base { Derived( ) { } @@ -7,4 +11,5 @@ class Derived : public Base virtual ~Derived( ) { } virtual void hello( ); + virtual void hello( string msg ); }; |