summaryrefslogtreecommitdiff
path: root/src/handle_wrap.cc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-03-13 11:22:33 -0700
committerisaacs <i@izs.me>2013-03-13 11:26:36 -0700
commit110cacd1ed7350cd718b0d5aa0ce8c320c040bb1 (patch)
treeb7c684c1ed265ca4325ad977d55b202e775f6502 /src/handle_wrap.cc
parent9af0085f700294b3535fe9d324e3cdf71b071d03 (diff)
downloadandroid-node-v8-110cacd1ed7350cd718b0d5aa0ce8c320c040bb1.tar.gz
android-node-v8-110cacd1ed7350cd718b0d5aa0ce8c320c040bb1.tar.bz2
android-node-v8-110cacd1ed7350cd718b0d5aa0ce8c320c040bb1.zip
core: Move UNWRAP_NO_ABORT to handle_wrap.h
Otherwise it cannot be used in StreamWrap. Forgot to include in last patch, broke the build.
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r--src/handle_wrap.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
index a667bb47c5..3f05c7d81b 100644
--- a/src/handle_wrap.cc
+++ b/src/handle_wrap.cc
@@ -23,12 +23,6 @@
#include "ngx-queue.h"
#include "handle_wrap.h"
-#define UNWRAP_NO_ABORT(type) \
- assert(!args.Holder().IsEmpty()); \
- assert(args.Holder()->InternalFieldCount() > 0); \
- type* wrap = static_cast<type*>( \
- args.Holder()->GetPointerFromInternalField(0));
-
namespace node {
using v8::Arguments;