Skip to content

Commit 000bfe7

Browse files
node-api: add experimental flag for new method
1 parent 8de7782 commit 000bfe7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js_native_api.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_get_boolean(napi_env env,
7979
NAPI_EXTERN napi_status NAPI_CDECL napi_create_object(napi_env env,
8080
napi_value* result);
8181
#ifdef NAPI_EXPERIMENTAL
82+
#define NODE_API_EXPERIMENTAL_HAS_CREATE_OBJECT_WITH_PROPERTIES
8283
NAPI_EXTERN napi_status NAPI_CDECL
8384
napi_create_object_with_properties(napi_env env,
8485
napi_value prototype_or_null,

0 commit comments

Comments
 (0)