diff options
author | Trevor Norris <trev.norris@gmail.com> | 2013-10-29 13:23:58 -0700 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2013-10-29 15:09:44 -0700 |
commit | 613d76ef6a00ec091367de1e63bc51e3ab672cbd (patch) | |
tree | 6d5596dfb015ef812081c3974f1b5adf862402c8 /src/process_wrap.cc | |
parent | f2e3be53bc33fc9269c248cec4ac26d6ec9054f7 (diff) | |
download | node-new-613d76ef6a00ec091367de1e63bc51e3ab672cbd.tar.gz |
src: shorten Object{Wrap,Unwrap}
Going back to the original names of Wrap/Unwrap now that most all the
class members that duplicate the name and functionality have been
removed.
Diffstat (limited to 'src/process_wrap.cc')
-rw-r--r-- | src/process_wrap.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process_wrap.cc b/src/process_wrap.cc index 2ed3d8f301..ba09745eaa 100644 --- a/src/process_wrap.cc +++ b/src/process_wrap.cc @@ -110,7 +110,7 @@ class ProcessWrap : public HandleWrap { Local<Object> handle = stdio->Get(handle_key).As<Object>(); options->stdio[i].data.stream = reinterpret_cast<uv_stream_t*>( - UnwrapObject<PipeWrap>(handle)->UVHandle()); + Unwrap<PipeWrap>(handle)->UVHandle()); } else if (type->Equals(FIXED_ONE_BYTE_STRING(node_isolate, "wrap"))) { Local<String> handle_key = FIXED_ONE_BYTE_STRING(node_isolate, "handle"); @@ -133,7 +133,7 @@ class ProcessWrap : public HandleWrap { Environment* env = Environment::GetCurrent(args.GetIsolate()); HandleScope handle_scope(args.GetIsolate()); - ProcessWrap* wrap = UnwrapObject<ProcessWrap>(args.This()); + ProcessWrap* wrap = Unwrap<ProcessWrap>(args.This()); Local<Object> js_options = args[0]->ToObject(); @@ -261,7 +261,7 @@ class ProcessWrap : public HandleWrap { static void Kill(const FunctionCallbackInfo<Value>& args) { HandleScope scope(node_isolate); - ProcessWrap* wrap = UnwrapObject<ProcessWrap>(args.This()); + ProcessWrap* wrap = Unwrap<ProcessWrap>(args.This()); int signal = args[0]->Int32Value(); int err = uv_process_kill(&wrap->process_, signal); |