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/node_wrap.h | |
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/node_wrap.h')
-rw-r--r-- | src/node_wrap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_wrap.h b/src/node_wrap.h index 798d94334b..98cc45c993 100644 --- a/src/node_wrap.h +++ b/src/node_wrap.h @@ -39,15 +39,15 @@ namespace node { do { \ if (env->tcp_constructor_template().IsEmpty() == false && \ env->tcp_constructor_template()->HasInstance(obj)) { \ - TCPWrap* const wrap = UnwrapObject<TCPWrap>(obj); \ + TCPWrap* const wrap = Unwrap<TCPWrap>(obj); \ BODY \ } else if (env->tty_constructor_template().IsEmpty() == false && \ env->tty_constructor_template()->HasInstance(obj)) { \ - TTYWrap* const wrap = UnwrapObject<TTYWrap>(obj); \ + TTYWrap* const wrap = Unwrap<TTYWrap>(obj); \ BODY \ } else if (env->pipe_constructor_template().IsEmpty() == false && \ env->pipe_constructor_template()->HasInstance(obj)) { \ - PipeWrap* const wrap = UnwrapObject<PipeWrap>(obj); \ + PipeWrap* const wrap = Unwrap<PipeWrap>(obj); \ BODY \ } \ } while (0) |