diff options
author | Chad Austin <chad@imvu.com> | 2013-03-06 03:17:51 -0800 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:24:57 +0300 |
commit | 8be7ebc9ccc6281a9e7481340d28255567608920 (patch) | |
tree | c3052e9d64bbca72010a06680e7315bf36d2bb7b /system/lib/embind/bind.cpp | |
parent | c1114a970b3eb8cb022aad9345289c81279c3c38 (diff) |
Explicitly specify base classes. Alas, but it must be done for instanceof :(
Diffstat (limited to 'system/lib/embind/bind.cpp')
-rwxr-xr-x | system/lib/embind/bind.cpp | 10 |
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());
}));
}
|