@@ -732,7 +732,7 @@ static napi_value TestCreateObjectWithProperties(napi_env env,
732732 napi_value null_prototype ;
733733 NODE_API_CALL (env , napi_get_null (env , & null_prototype ));
734734 NODE_API_CALL (env ,
735- napi_create_object_with_properties (
735+ node_api_create_object_with_properties (
736736 env , null_prototype , names , values , 3 , & result ));
737737
738738 return result ;
@@ -742,9 +742,9 @@ static napi_value TestCreateObjectWithPropertiesEmpty(napi_env env,
742742 napi_callback_info info ) {
743743 napi_value result ;
744744
745- NODE_API_CALL (
746- env ,
747- napi_create_object_with_properties ( env , NULL , NULL , NULL , 0 , & result ));
745+ NODE_API_CALL (env ,
746+ node_api_create_object_with_properties (
747+ env , NULL , NULL , NULL , 0 , & result ));
748748
749749 return result ;
750750}
@@ -777,7 +777,7 @@ static napi_value TestCreateObjectWithCustomPrototype(napi_env env,
777777 NODE_API_CALL (env , napi_create_int32 (env , 42 , & values [0 ]));
778778
779779 NODE_API_CALL (env ,
780- napi_create_object_with_properties (
780+ node_api_create_object_with_properties (
781781 env , prototype , names , values , 1 , & result ));
782782
783783 return result ;
0 commit comments