From 35ef698952ac9197dc39c8e6b96d3fcc750a139b Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 24 Sep 2015 15:00:53 +0800 Subject: [PATCH] src: export Agent's constructor and destructor --- src/debug-agent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/debug-agent.h b/src/debug-agent.h index f18683a8287f39..40587c95d7b995 100644 --- a/src/debug-agent.h +++ b/src/debug-agent.h @@ -22,10 +22,10 @@ #ifndef SRC_DEBUG_AGENT_H_ #define SRC_DEBUG_AGENT_H_ +#include "node.h" #include "util.h" #include "util-inl.h" #include "uv.h" -#include "v8.h" #include "v8-debug.h" #include @@ -66,8 +66,8 @@ class AgentMessage { class Agent { public: - explicit Agent(node::Environment* env); - ~Agent(); + NODE_EXTERN explicit Agent(node::Environment* env); + NODE_EXTERN ~Agent(); typedef void (*DispatchHandler)(node::Environment* env);