aboutsummaryrefslogtreecommitdiff
path: root/system/lib/embind/bind.cpp
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-03-06 03:17:51 -0800
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:24:57 +0300
commit8be7ebc9ccc6281a9e7481340d28255567608920 (patch)
treec3052e9d64bbca72010a06680e7315bf36d2bb7b /system/lib/embind/bind.cpp
parentc1114a970b3eb8cb022aad9345289c81279c3c38 (diff)
Explicitly specify base classes. Alas, but it must be done for instanceof :(
Diffstat (limited to 'system/lib/embind/bind.cpp')
-rwxr-xr-xsystem/lib/embind/bind.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/system/lib/embind/bind.cpp b/system/lib/embind/bind.cpp
index 081db2cd..cbff7cf1 100755
--- a/system/lib/embind/bind.cpp
+++ b/system/lib/embind/bind.cpp
@@ -133,15 +133,6 @@ namespace emscripten {
return derivationPath;
}
- std::vector<int> __getBaseClasses(int tp) {
- std::vector<const __cxxabiv1::__class_type_info*> baseTypes = __internalGetBaseClasses((const __cxxabiv1::__class_type_info*)tp);
- std::vector<int> bases;
- for (int j = 0; j < baseTypes.size(); j++) {
- bases.emplace_back((int)baseTypes[j]);
- }
- return bases;
- }
-
extern "C" {
// These three routines constitute an extension to the compiler's support for dynamic type conversion.
// They are used by embind.js to implement automatic downcasting of return values which are pointers to
@@ -229,7 +220,6 @@ namespace emscripten {
// conversion for the return value. This has the unfortunate side-effect of exposing it to third party
// developers, but perhaps the double underscore will scare them away from calling it.
function("__getDerivationPath", &__getDerivationPath);
- function("__getBaseClasses", &__getBaseClasses);
function("__peek32", &__peek32, allow_raw_pointers());
}));
}