aboutsummaryrefslogtreecommitdiff
path: root/tests/embind/embind_test.cpp
diff options
context:
space:
mode:
authorCamilo Polymeris <cpolymeris@gmail.com>2014-04-26 23:01:07 -0300
committerCamilo Polymeris <cpolymeris@gmail.com>2014-04-29 17:10:17 -0400
commitd00fef35c95285b05352757e512685e0dd657bbb (patch)
tree5a6e313cc176c538287daa7026848ef050ca3135 /tests/embind/embind_test.cpp
parentd5cf59ac87b14eee47e229fe0543c8faa27a2ff4 (diff)
Bind std::basic_string<unsigned char> to js strings
Diffstat (limited to 'tests/embind/embind_test.cpp')
-rw-r--r--tests/embind/embind_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/embind/embind_test.cpp b/tests/embind/embind_test.cpp
index 1b835751..2b6a4d1b 100644
--- a/tests/embind/embind_test.cpp
+++ b/tests/embind/embind_test.cpp
@@ -109,6 +109,10 @@ std::string emval_test_take_and_return_std_string_const_ref(const std::string& s
return str;
}
+std::basic_string<unsigned char> emval_test_take_and_return_std_basic_string_unsigned_char(std::basic_string<unsigned char> str) {
+ return str;
+}
+
std::wstring take_and_return_std_wstring(std::wstring str) {
return str;
}