Handle<Value> ResourcesDictionaryDriver::New(const Arguments& args) { HandleScope scope; ResourcesDictionaryDriver* form = new ResourcesDictionaryDriver(); form->Wrap(args.This()); return args.This(); }
METHOD_RETURN_TYPE ResourcesDictionaryDriver::New(const ARGS_TYPE& args) { CREATE_ISOLATE_CONTEXT; CREATE_ESCAPABLE_SCOPE; ResourcesDictionaryDriver* form = new ResourcesDictionaryDriver(); form->Wrap(args.This()); SET_FUNCTION_RETURN_VALUE(args.This()); }