Index: gin/function_template.h.pump |
diff --git a/gin/function_template.h.pump b/gin/function_template.h.pump |
index f9ae5ff658877ab66ebe2b278ebad368e5bb729e..fad718febc277ef1e2566fe0eb49ad5ed70c4776 100644 |
--- a/gin/function_template.h.pump |
+++ b/gin/function_template.h.pump |
@@ -18,6 +18,7 @@ $var MAX_ARITY = 4 |
#include "base/logging.h" |
#include "gin/arguments.h" |
#include "gin/converter.h" |
+#include "gin/gin_export.h" |
#include "gin/handle.h" |
#include "gin/public/gin_embedders.h" |
#include "gin/public/wrapper_info.h" |
@@ -61,7 +62,7 @@ struct CallbackParamTraits<const T*> { |
// This simple base class is used so that we can share a single object template |
// among every CallbackHolder instance. |
-class CallbackHolderBase : public Wrappable<CallbackHolderBase> { |
+class GIN_EXPORT CallbackHolderBase : public Wrappable<CallbackHolderBase> { |
public: |
static WrapperInfo kWrapperInfo; |
@@ -188,7 +189,7 @@ $for ARG [[ typename CallbackParamTraits<P$(ARG)>::LocalType a$(ARG); |
// This should be called once per-isolate to initialize the function template |
// system. |
-void InitFunctionTemplates(PerIsolateData* isolate_data); |
+GIN_EXPORT void InitFunctionTemplates(PerIsolateData* isolate_data); |
// CreateFunctionTemplate creates a v8::FunctionTemplate that will create |