aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Welden <bwelden@imvu.com>2013-04-10 14:09:40 -0700
committerJukka Jylänki <jujjyl@gmail.com>2013-04-18 20:08:08 +0300
commitebb2069d804f49b457f6a4349a3136703db60190 (patch)
tree981c3889ca89b82d90ccf088c11d6643464ede74
parentde80f9c04100e57f74f62352981548cd3e322579 (diff)
Removed dependency on Northstar.
-rwxr-xr-xsystem/include/emscripten/bind.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/system/include/emscripten/bind.h b/system/include/emscripten/bind.h
index 3901ce50..73a8d4da 100755
--- a/system/include/emscripten/bind.h
+++ b/system/include/emscripten/bind.h
@@ -9,7 +9,6 @@
#include <type_traits>
#include <emscripten/val.h>
#include <emscripten/wire.h>
-#include "northstar/Pointer.h"
namespace emscripten {
enum class sharing_policy {
@@ -706,24 +705,6 @@ namespace emscripten {
};
};
- template<typename PointeeType>
- struct smart_ptr_trait<northstar::IntrusivePointer<PointeeType>> {
- typedef northstar::IntrusivePointer<PointeeType> PointerType;
- typedef typename PointerType::element_type element_type;
-
- static element_type* get(const PointerType& ptr) {
- return ptr.get();
- }
-
- static northstar::IntrusivePointer<PointeeType>* share(PointeeType* p, internal::EM_VAL v) {
- return new northstar::IntrusivePointer<PointeeType>(p);
- }
-
- static sharing_policy get_sharing_policy() {
- return sharing_policy::INTRUSIVE;
- }
- };
-
////////////////////////////////////////////////////////////////////////////////
// CLASSES
////////////////////////////////////////////////////////////////////////////////