aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinsuck <jkim@imvu.com>2012-11-02 15:36:52 -0700
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:21:36 +0300
commitebbe87925570d572204c105ff15a1c5581c76d54 (patch)
tree0aace920dcf97d4d14a3d43d2c343c39ebf13510
parent8691fb1726c63263f99e86b8dd29d1a90d639579 (diff)
to get string from emval
-rw-r--r--system/include/emscripten/wire.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/include/emscripten/wire.h b/system/include/emscripten/wire.h
index cee0f539..89b18d77 100644
--- a/system/include/emscripten/wire.h
+++ b/system/include/emscripten/wire.h
@@ -185,6 +185,9 @@ namespace emscripten {
static std::string fromWireType(char* v) {
return std::string(v);
}
+ static void destroy(WireType v) {
+ delete v;
+ }
};
template<typename T>