Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koffi

Package Overview
Dependencies
Maintainers
1
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koffi - npm Package Compare versions

Comparing version 2.4.2 to 2.5.0-beta.1

build/2.5.0-beta.1/koffi_darwin_arm64/koffi.node

2

doc/callbacks.md

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc