From 756ae2c5360b7ab64649cb7587242a2fbd8dc95d Mon Sep 17 00:00:00 2001 From: Trevor Norris Date: Mon, 5 Aug 2013 17:58:29 -0700 Subject: src: centralize class wrap/unwrap While almost all cases were handled by simple WRAP/UNWRAP macros, this extends those to cover all known occurrences. --- src/handle_wrap.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/handle_wrap.h') diff --git a/src/handle_wrap.h b/src/handle_wrap.h index f06f639ce4..b5918f5dfe 100644 --- a/src/handle_wrap.h +++ b/src/handle_wrap.h @@ -49,12 +49,6 @@ namespace node { // js/c++ boundary crossing. At the javascript layer that should all be // taken care of. -#define UNWRAP_NO_ABORT(type) \ - assert(!args.This().IsEmpty()); \ - assert(args.This()->InternalFieldCount() > 0); \ - type* wrap = static_cast( \ - args.This()->GetAlignedPointerFromInternalField(0)); - class HandleWrap { public: static void Close(const v8::FunctionCallbackInfo& args); -- cgit v1.2.3