aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsystem/include/emscripten/bind.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h
index 7dc34949..48da7528 100755
--- a/system/include/emscripten/bind.h
+++ b/system/include/emscripten/bind.h
@@ -464,33 +464,6 @@ namespace emscripten {
setter(ptr, FieldBinding::fromWireType(value));
}
};
-
- template<typename VectorType>
- struct Vector {
- typedef typename VectorType::value_type ElementType;
- typedef internal::BindingType<ElementType> FieldBinding;
- typedef typename FieldBinding::WireType WireType;
-
- static int length(
- VectorType* ptr
- ) {
- return (*ptr).size();
- }
-
- static WireType getAt(
- VectorType* ptr,
- int pos
- ) {
- return FieldBinding::toWireType((*ptr).at(pos));
- }
-
- static void push_back(
- VectorType* ptr,
- WireType val
- ) {
- (*ptr).push_back(FieldBinding::fromWireType(val));
- }
- };
}
////////////////////////////////////////////////////////////////////////////////