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 2018-08-28 01:22:22 +02:00
parent b366de582b
commit 04060e35b1
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9

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