Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_wrap.h')
-rw-r--r--src/node_wrap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_wrap.h b/src/node_wrap.h
index 1b7b451627a..ff7179fdb89 100644
--- a/src/node_wrap.h
+++ b/src/node_wrap.h
@@ -39,15 +39,15 @@ extern v8::Persistent<v8::FunctionTemplate> tcpConstructorTmpl;
#define WITH_GENERIC_STREAM(obj, BODY) \
do { \
if (!tcpConstructorTmpl.IsEmpty() && \
- tcpConstructorTmpl->HasInstance(obj)) { \
+ HasInstance(tcpConstructorTmpl, obj)) { \
PipeWrap* wrap = PipeWrap::Unwrap(obj); \
BODY \
} else if (!ttyConstructorTmpl.IsEmpty() && \
- ttyConstructorTmpl->HasInstance(obj)) { \
+ HasInstance(ttyConstructorTmpl, obj)) { \
TTYWrap* wrap = TTYWrap::Unwrap(obj); \
BODY \
} else if (!pipeConstructorTmpl.IsEmpty() && \
- pipeConstructorTmpl->HasInstance(obj)) { \
+ HasInstance(pipeConstructorTmpl, obj)) { \
TCPWrap* wrap = TCPWrap::Unwrap(obj); \
BODY \
} \