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

@yuuang/ffi-rs-darwin-x64

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yuuang/ffi-rs-darwin-x64 - npm Package Compare versions

Comparing version 1.0.52 to 1.0.53

2

package.json
{
"name": "@yuuang/ffi-rs-darwin-x64",
"version": "1.0.52",
"version": "1.0.53",
"os": [

@@ -5,0 +5,0 @@ "darwin"

@@ -83,2 +83,3 @@ # ffi-rs

- linux-x64-gnu
- linux-x64-musl
- win32-x64-msvc

@@ -136,3 +137,3 @@ - win32-ia32-msvc

### initialization
### Initialization

@@ -164,2 +165,24 @@ ```js

### Load Main Program handle
You can alse pass emptry path string in `open` function like [ffi-napi](https://github.com/node-ffi-napi/node-ffi-napi?tab=readme-ov-file#example) to get the main program handle refer [dlopen](https://man7.org/linux/man-pages/man3/dlopen.3.html)
```js
open({
library: "libnative",
path: "",
});
// In darwin/linux, you can call atoi function which is includeed in the basic c library
equal(
load({
library: "libnative",
funcName: "atoi",
retType: DataType.I32,
paramsType: [DataType.String],
paramsValue: ["1000"],
}),
1000,
);
```
### Basic Types

@@ -166,0 +189,0 @@

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