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/tty_wrap.cc | |
parent | f2e3be53bc33fc9269c248cec4ac26d6ec9054f7 (diff) | |
download | android-node-v8-613d76ef6a00ec091367de1e63bc51e3ab672cbd.tar.gz android-node-v8-613d76ef6a00ec091367de1e63bc51e3ab672cbd.tar.bz2 android-node-v8-613d76ef6a00ec091367de1e63bc51e3ab672cbd.zip |
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/tty_wrap.cc')
-rw-r--r-- | src/tty_wrap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tty_wrap.cc b/src/tty_wrap.cc index f97ea8a885..6a0b282377 100644 --- a/src/tty_wrap.cc +++ b/src/tty_wrap.cc @@ -130,7 +130,7 @@ void TTYWrap::IsTTY(const FunctionCallbackInfo<Value>& args) { void TTYWrap::GetWindowSize(const FunctionCallbackInfo<Value>& args) { HandleScope scope(node_isolate); - TTYWrap* wrap = UnwrapObject<TTYWrap>(args.This()); + TTYWrap* wrap = Unwrap<TTYWrap>(args.This()); assert(args[0]->IsArray()); int width, height; @@ -149,7 +149,7 @@ void TTYWrap::GetWindowSize(const FunctionCallbackInfo<Value>& args) { void TTYWrap::SetRawMode(const FunctionCallbackInfo<Value>& args) { HandleScope scope(node_isolate); - TTYWrap* wrap = UnwrapObject<TTYWrap>(args.This()); + TTYWrap* wrap = Unwrap<TTYWrap>(args.This()); int err = uv_tty_set_mode(&wrap->handle_, args[0]->IsTrue()); args.GetReturnValue().Set(err); |