diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-08-07 17:21:25 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-08-07 17:27:35 +0200 |
commit | 54a9ec4ef09f51c0903af515aa2404922d9f73f0 (patch) | |
tree | e5b92e40861f4470aa4eee38c76bc54384f96504 /src/handle_wrap.h | |
parent | da5ad92ab221e45648c871cf488e0699b5708288 (diff) | |
download | android-node-v8-54a9ec4ef09f51c0903af515aa2404922d9f73f0.tar.gz android-node-v8-54a9ec4ef09f51c0903af515aa2404922d9f73f0.tar.bz2 android-node-v8-54a9ec4ef09f51c0903af515aa2404922d9f73f0.zip |
stream_wrap: add handle type checkers
Add is_named_pipe(), is_named_pipe_ipc() and is_tcp() and update the
code base to use those rather than `stream->type == UV_FOO` and
`reinterpret_cast<uv_pipe_t*>(handle)->ipc` style checks.
Diffstat (limited to 'src/handle_wrap.h')
0 files changed, 0 insertions, 0 deletions