@@ -743,7 +743,7 @@ static napi_value TestCreateObjectWithProperties(napi_env env,
743743 napi_value null_prototype ;
744744 NODE_API_CALL (env , napi_get_null (env , & null_prototype ));
745745 NODE_API_CALL (env ,
746- napi_create_object_with_properties (
746+ node_api_create_object_with_properties (
747747 env , null_prototype , names , values , 3 , & result ));
748748
749749 return result ;
@@ -753,9 +753,9 @@ static napi_value TestCreateObjectWithPropertiesEmpty(napi_env env,
753753 napi_callback_info info ) {
754754 napi_value result ;
755755
756- NODE_API_CALL (
757- env ,
758- napi_create_object_with_properties ( env , NULL , NULL , NULL , 0 , & result ));
756+ NODE_API_CALL (env ,
757+ node_api_create_object_with_properties (
758+ env , NULL , NULL , NULL , 0 , & result ));
759759
760760 return result ;
761761}
@@ -788,7 +788,7 @@ static napi_value TestCreateObjectWithCustomPrototype(napi_env env,
788788 NODE_API_CALL (env , napi_create_int32 (env , 42 , & values [0 ]));
789789
790790 NODE_API_CALL (env ,
791- napi_create_object_with_properties (
791+ node_api_create_object_with_properties (
792792 env , prototype , names , values , 1 , & result ));
793793
794794 return result ;
0 commit comments