Skip to content

Commit 0f5f0db

Browse files
committed
Merge branch 'master' into c++17
2 parents 913a5a5 + 77d2303 commit 0f5f0db

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "v8pp",
3-
"version": "1.7.0",
3+
"version": "2.0.0",
44
"description": "C++ bindings for V8",
55
"keywords": [ "V8", "native", "addon", "module", "bindings" ],
66
"engines": { "node": ">=8.0.0" },

v8pp/config.hpp.in

+7-9
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616

1717
/// v8pp plugin filename suffix
1818
#if !defined(V8PP_PLUGIN_SUFFIX)
19-
#define V8PP_PLUGIN_SUFFIX "@V8PP_PLUGIN_SUFFIX@"
19+
#define V8PP_PLUGIN_SUFFIX "@V8PP_PLUGIN_SUFFIX@"
2020
#endif
2121

2222
#if defined(_MSC_VER)
23-
#define V8PP_EXPORT __declspec(dllexport)
24-
#define V8PP_IMPORT __declspec(dllimport)
23+
#define V8PP_EXPORT __declspec(dllexport)
24+
#define V8PP_IMPORT __declspec(dllimport)
2525
#elif __GNUC__ >= 4
26-
#define V8PP_EXPORT __attribute__((__visibility__("default")))
27-
#define V8PP_IMPORT V8PP_EXPORT
26+
#define V8PP_EXPORT __attribute__((__visibility__("default")))
27+
#define V8PP_IMPORT V8PP_EXPORT
2828
#else
29-
#define V8PP_EXPORT
30-
#define V8PP_IMPORT
29+
#define V8PP_EXPORT
30+
#define V8PP_IMPORT
3131
#endif
3232

3333
#define V8PP_PLUGIN_INIT(isolate) extern "C" V8PP_EXPORT \
@@ -43,8 +43,6 @@ v8::Local<v8::Value> V8PP_PLUGIN_INIT_PROC_NAME(isolate)
4343
#define V8PP_IMPL
4444
#endif
4545

46-
#define V8PP_USE_STD_STRING_VIEW 1
47-
4846
#define V8PP_STRINGIZE(s) V8PP_STRINGIZE0(s)
4947
#define V8PP_STRINGIZE0(s) #s
5048

0 commit comments

Comments
 (0)