src: add NODE_EXTERN to class definition

This should be part of public class definitions for Windows
embedders who use a DLL interface for accessing Node.

PR-URL: https://github.com/nodejs/node/pull/22559
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Anna Henningsen committed 2018-09-03 00:23:58 +02:00
1 parent b366de582b
commit 04060e35b1
1 file changed
+1 -1
+1 -1
View File
@@ -232,7 +232,7 @@ NODE_EXTERN void FreeArrayBufferAllocator(ArrayBufferAllocator* allocator);
class IsolateData;
class Environment;
class MultiIsolatePlatform : public v8::Platform {
class NODE_EXTERN MultiIsolatePlatform : public v8::Platform {
public:
virtual ~MultiIsolatePlatform() { }
// Returns true if work was dispatched or executed. New tasks that are