Comparing version 2.4.2 to 2.5.0-beta.1
@@ -23,3 +23,3 @@ # Callbacks | ||
Once your callback type is declared, you can use a pointer to it in struct definitions, or as function parameters and/or return types. | ||
Once your callback type is declared, you can use a pointer to it in struct definitions, as function parameters and/or return types, or to call/decode function pointers. | ||
@@ -26,0 +26,0 @@ ```{note} |
@@ -140,3 +140,3 @@ # Function calls | ||
```{note} | ||
```{warning} | ||
Asynchronous functions run on worker threads. You need to deal with thread safety issues if you share data between threads. | ||
@@ -143,0 +143,0 @@ |
@@ -215,3 +215,2 @@ # Special parameters | ||
{ | ||
let fp = fopen(filename, 'rb'); | ||
@@ -218,0 +217,0 @@ if (!fp) |
@@ -135,3 +135,3 @@ # Data pointers | ||
Read the documentation for [disposable types](parameters.md#heap-allocated-values) on the page about function calls. | ||
Read the documentation for [disposable types](parameters.md#heap-allocated-values) on the page about special parameters. | ||
@@ -138,0 +138,0 @@ ## Unwrap pointers |
{ | ||
"name": "koffi", | ||
"version": "2.4.2", | ||
"version": "2.5.0-beta.1", | ||
"stable": "2.4.2", | ||
@@ -5,0 +5,0 @@ "description": "Fast and simple C FFI (foreign function interface) for Node.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 22 instances in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 21 instances in 1 package
83718981
367
1
43