summaryrefslogtreecommitdiff
path: root/src/handle_wrap.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-08-07 17:21:25 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-08-07 17:27:35 +0200
commit54a9ec4ef09f51c0903af515aa2404922d9f73f0 (patch)
treee5b92e40861f4470aa4eee38c76bc54384f96504 /src/handle_wrap.h
parentda5ad92ab221e45648c871cf488e0699b5708288 (diff)
downloadandroid-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