summaryrefslogtreecommitdiff
path: root/system/include
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-03-14 01:18:18 -0700
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:25:57 +0300
commit7d783d874a38b63515e8e3cc4c0c8ec15e428175 (patch)
treef3747150dc080b13c0ad707962e578a2b8e6a694 /system/include
parentfb92020f00a7ae5b43927927b1ec571afc161bf1 (diff)
Use typeid name for interface wrappers too. (Also introduce more uses of makeLegalFunctionName)
Diffstat (limited to 'system/include')
-rwxr-xr-xsystem/include/emscripten/bind.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h
index 10d0d926..e5865971 100755
--- a/system/include/emscripten/bind.h
+++ b/system/include/emscripten/bind.h
@@ -780,8 +780,7 @@ namespace emscripten {
class_& allow_subclass() {
using namespace internal;
- // TODO: unique or anonymous name
- class_<WrapperType, base<ClassType>>("WrapperType")
+ class_<WrapperType, base<ClassType>>(typeid(WrapperType).name())
.template constructor<val>()
;