1 // This test is designed for testing wrappers in the target language in a multi-threaded environment.
2 // The most common cause for this test failing is incorrect compiler settings for a multi-threaded environment.
6 %include "std_string.i"
8 %newobject Kerfuffle::CharString;
13 std::string StdString(std::string str) {
16 char * CharString(const char *str) {
17 char * retstr = new char[256];