File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4735,7 +4735,8 @@ napi_status napi_new_instance(napi_env env,
47354735  as a constructor. 
47364736* `[in] argc`: The count of elements in the `argv` array. 
47374737* `[in] argv`: Array of JavaScript values as `napi_value` representing the 
4738-   arguments to the constructor. 
4738+   arguments to the constructor. If `argc` is zero this parameter may be 
4739+   omitted by passing in `NULL`. 
47394740* `[out] result`: `napi_value` representing the JavaScript object returned, 
47404741  which in this case is the constructed object. 
47414742
@@ -5512,7 +5513,8 @@ NAPI_EXTERN napi_status napi_make_callback(napi_env env,
55125513* `[in] func`: `napi_value` representing the JavaScript function to be invoked. 
55135514* `[in] argc`: The count of elements in the `argv` array. 
55145515* `[in] argv`: Array of JavaScript values as `napi_value` representing the 
5515-   arguments to the function. 
5516+   arguments to the function. If `argc` is zero this parameter may be 
5517+   omitted by passing in `NULL`. 
55165518* `[out] result`: `napi_value` representing the JavaScript object returned. 
55175519
55185520Returns `napi_ok` if the API succeeded. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments