Socket
Socket
Sign inDemoInstall

@yuuang/ffi-rs-linux-arm64-musl

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yuuang/ffi-rs-linux-arm64-musl - npm Package Compare versions

Comparing version 1.0.46 to 1.0.47

2

package.json
{
"name": "@yuuang/ffi-rs-linux-arm64-musl",
"version": "1.0.46",
"version": "1.0.47",
"os": [

@@ -5,0 +5,0 @@ "linux"

@@ -344,6 +344,6 @@ # ffi-rs

For the code above, we can use `createExternal` function to wrap a pointer data and send it as paramsValue
For the code above, we can use `createPointer` function to wrap a pointer data and send it as paramsValue
```js
const funcExternal: unknown[] = createExternal({
const funcExternal: unknown[] = createPointer({
paramsType: [DataType.DoubleArray],

@@ -367,10 +367,10 @@ paramsValue: [[1.1,2.2]]

Similary, you can use `restoreExternal` to restore data from `pointer` which wrap by `createExternal`
Similary, you can use `storePointer` to restore data from `pointer` which wrap by `createPointer`
```js
const external = createExternal({
const external = createPointer({
paramsType: [DataType.DoubleArray],
paramsValue: [[1.1, 2.2]]
})
const restoreData = restoreExternal({
const restoreData = storePointer({
retType: [arrayConstructor({

@@ -377,0 +377,0 @@ type: DataType.DoubleArray,

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