diff options
author | Anna Henningsen <anna@addaleax.net> | 2017-10-12 08:11:03 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-10-13 23:05:49 +0300 |
commit | 00fe76d2df4651b453a906fac0cccc5fcafb067a (patch) | |
tree | cd72f00b5742577f41913b21f1bde6b5d3954c1c /src/pipe_wrap.cc | |
parent | 7245e852f2191a256fc748b891266f4b3a91ac10 (diff) |
src: rename StreamWrap to LibuvStreamWrap
This should help clarify what kind of resource a `StreamWrap`
represents.
PR-URL: https://github.com/nodejs/node/pull/16157
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/pipe_wrap.cc')
-rw-r--r-- | src/pipe_wrap.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipe_wrap.cc b/src/pipe_wrap.cc index bf1ddbdc0da..72dd99c1e5c 100644 --- a/src/pipe_wrap.cc +++ b/src/pipe_wrap.cc @@ -80,9 +80,9 @@ void PipeWrap::Initialize(Local<Object> target, env->SetProtoMethod(t, "hasRef", HandleWrap::HasRef); #ifdef _WIN32 - StreamWrap::AddMethods(env, t); + LibuvStreamWrap::AddMethods(env, t); #else - StreamWrap::AddMethods(env, t, StreamBase::kFlagHasWritev); + LibuvStreamWrap::AddMethods(env, t, StreamBase::kFlagHasWritev); #endif env->SetProtoMethod(t, "bind", Bind); |