@stdlib/math-base-napi-unary
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@stdlib/math-base-napi-unary", | ||
"version": "0.0.6", | ||
"description": "C APIs for registering an N-API module exporting an interface for invoking a unary numerical function.", | ||
"version": "0.0.7", | ||
"description": "C APIs for registering a Node-API module exporting an interface for invoking a unary numerical function.", | ||
"license": "Apache-2.0", | ||
@@ -18,3 +18,3 @@ "author": { | ||
"browser": "./lib/browser.js", | ||
"gypfile": true, | ||
"gypfile": false, | ||
"directories": { | ||
@@ -78,2 +78,3 @@ "benchmark": "./benchmark", | ||
"n-api", | ||
"node-api", | ||
"addon", | ||
@@ -80,0 +81,0 @@ "unary", |
@@ -25,3 +25,3 @@ <!-- | ||
> C APIs for registering an N-API module exporting interfaces for invoking unary numerical functions. | ||
> C APIs for registering a Node-API module exporting interfaces for invoking unary numerical functions. | ||
@@ -146,7 +146,7 @@ <!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. --> | ||
/** | ||
* Receives JavaScript callback invocation data via N-API. | ||
* Receives JavaScript callback invocation data. | ||
* | ||
* @param env environment under which the function is invoked | ||
* @param info callback data | ||
* @return N-API value | ||
* @return Node-API value | ||
*/ | ||
@@ -186,7 +186,7 @@ napi_value addon( napi_env env, napi_callback_info info ) { | ||
/** | ||
* Receives JavaScript callback invocation data via N-API. | ||
* Receives JavaScript callback invocation data. | ||
* | ||
* @param env environment under which the function is invoked | ||
* @param info callback data | ||
* @return N-API value | ||
* @return Node-API value | ||
*/ | ||
@@ -227,7 +227,7 @@ napi_value addon( napi_env env, napi_callback_info info ) { | ||
/** | ||
* Receives JavaScript callback invocation data via N-API. | ||
* Receives JavaScript callback invocation data. | ||
* | ||
* @param env environment under which the function is invoked | ||
* @param info callback data | ||
* @return N-API value | ||
* @return Node-API value | ||
*/ | ||
@@ -253,3 +253,3 @@ napi_value addon( napi_env env, napi_callback_info info ) { | ||
Macro for registering an N-API module exporting an interface for invoking a unary function accepting and returning double-precision floating-point numbers. | ||
Macro for registering a Node-API module exporting an interface for invoking a unary function accepting and returning double-precision floating-point numbers. | ||
@@ -263,3 +263,3 @@ ```c | ||
// Register an N-API module: | ||
// Register a Node-API module: | ||
STDLIB_MATH_BASE_NAPI_MODULE_D_D( scale ); | ||
@@ -272,7 +272,7 @@ ``` | ||
When used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring N-API module registration. | ||
When used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration. | ||
#### STDLIB_MATH_BASE_NAPI_MODULE_F_F( fcn ) | ||
Macro for registering an N-API module exporting an interface for invoking a unary function accepting and returning single-precision floating-point numbers. | ||
Macro for registering a Node-API module exporting an interface for invoking a unary function accepting and returning single-precision floating-point numbers. | ||
@@ -286,3 +286,3 @@ ```c | ||
// Register an N-API module: | ||
// Register a Node-API module: | ||
STDLIB_MATH_BASE_NAPI_MODULE_F_F( scale ); | ||
@@ -295,7 +295,7 @@ ``` | ||
When used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring N-API module registration. | ||
When used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration. | ||
#### STDLIB_MATH_BASE_NAPI_MODULE_I_I( fcn ) | ||
Macro for registering an N-API module exporting an interface for invoking a unary function accepting and returning 32-bit signed integers. | ||
Macro for registering a Node-API module exporting an interface for invoking a unary function accepting and returning 32-bit signed integers. | ||
@@ -311,3 +311,3 @@ ```c | ||
// Register an N-API module: | ||
// Register a Node-API module: | ||
STDLIB_MATH_BASE_NAPI_MODULE_I_I( scale ); | ||
@@ -320,3 +320,3 @@ ``` | ||
When used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring N-API module registration. | ||
When used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration. | ||
@@ -323,0 +323,0 @@ </section> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62170
16