aboutsummaryrefslogtreecommitdiff
path: root/system/lib/embind/bind.cpp
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-21 12:39:07 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-21 12:39:07 -0700
commitabe634001c34f74fabc660d61c37cbe44f44a443 (patch)
tree7005e3c219fe78ab606542c2b661a7c8efcaad5f /system/lib/embind/bind.cpp
parentf46a8ba8cadd98ddfb6e13a6c34aa890f3355bfd (diff)
parent954f70274ed3b85b9d3885c6087df96376ca07d3 (diff)
Merge pull request #1185 from imvu/embind-performance-and-code-size-improvements
Embind performance and code size improvements
Diffstat (limited to 'system/lib/embind/bind.cpp')
-rw-r--r--system/lib/embind/bind.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/lib/embind/bind.cpp b/system/lib/embind/bind.cpp
index ec1648a9..12264dfd 100644
--- a/system/lib/embind/bind.cpp
+++ b/system/lib/embind/bind.cpp
@@ -59,4 +59,5 @@ EMSCRIPTEN_BINDINGS(native_and_builtin_types) {
_embind_register_std_string(TypeID<std::string>::get(), "std::string");
_embind_register_std_wstring(TypeID<std::wstring>::get(), sizeof(wchar_t), "std::wstring");
_embind_register_emval(TypeID<val>::get(), "emscripten::val");
+ _embind_register_memory_view(TypeID<memory_view>::get(), "emscripten::memory_view");
}