diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-18 23:18:50 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-07-20 12:09:29 +0200 |
commit | ca9eb718fbf2cd2c60c7aeb3ca33413e17fcbbf0 (patch) | |
tree | b9415d0e2f6005a651276cbc40d23196a8c02ddf /src/stream_wrap.h | |
parent | 0161ec87af3d71b10d8ce679c8a1a64358fae8dc (diff) | |
download | node-new-ca9eb718fbf2cd2c60c7aeb3ca33413e17fcbbf0.tar.gz |
src, lib: update after internal api change
Libuv now returns errors directly. Make everything in src/ and lib/
follow suit.
The changes to lib/ are not strictly necessary but they remove the need
for the abominations that are process._errno and node::SetErrno().
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r-- | src/stream_wrap.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h index 6ef20d364b..0a431c1486 100644 --- a/src/stream_wrap.h +++ b/src/stream_wrap.h @@ -37,7 +37,8 @@ typedef class ReqWrap<uv_shutdown_t> ShutdownWrap; class WriteWrap: public ReqWrap<uv_write_t> { public: - explicit WriteWrap(StreamWrap* wrap) { + explicit WriteWrap(v8::Local<v8::Object> obj, StreamWrap* wrap) + : ReqWrap<uv_write_t>(obj) { wrap_ = wrap; } |