Showing with 2 additions and 2 deletions.
  1. +2 −2 src/node_wrap.h
@@ -40,15 +40,15 @@ extern v8::Persistent<v8::FunctionTemplate> tcpConstructorTmpl;
do { \
if (!tcpConstructorTmpl.IsEmpty() && \
HasInstance(tcpConstructorTmpl, obj)) { \
PipeWrap* wrap = PipeWrap::Unwrap(obj); \
TCPWrap* wrap = TCPWrap::Unwrap(obj); \
BODY \
} else if (!ttyConstructorTmpl.IsEmpty() && \
HasInstance(ttyConstructorTmpl, obj)) { \
TTYWrap* wrap = TTYWrap::Unwrap(obj); \
BODY \
} else if (!pipeConstructorTmpl.IsEmpty() && \
HasInstance(pipeConstructorTmpl, obj)) { \
TCPWrap* wrap = TCPWrap::Unwrap(obj); \
PipeWrap* wrap = PipeWrap::Unwrap(obj); \
BODY \
} \
} while (0)