node-ffi-rs
Advanced tools
Comparing version 1.0.68 to 1.0.69
@@ -0,1 +1,8 @@ | ||
interface RawPointer { } | ||
export interface JsExternal { | ||
_externalDataPlaceholder: RawPointer; | ||
} | ||
export const enum DataType { | ||
@@ -32,3 +39,3 @@ String = 0, | ||
: T extends DataType.External | ||
? any | ||
? JsExternal | ||
: T extends DataType.U8Array | ||
@@ -82,3 +89,3 @@ ? number[] | ||
paramsValue: Array<unknown>; | ||
}): unknown[] | ||
}): JsExternal[] | ||
@@ -88,7 +95,9 @@ | ||
retType: Array<FieldType>; | ||
paramsValue: Array<unknown>; | ||
paramsValue: Array<JsExternal>; | ||
}): Array<DataTypeToType<T>> | ||
export function unwrapPointer(params: Array<unknown>): Array<unknown> | ||
export function unwrapPointer(params: Array<JsExternal>): Array<JsExternal> | ||
export function wrapPointer(params: Array<JsExternal>): Array<JsExternal> | ||
type ResultWithErrno<T, IncludeErrno extends boolean | undefined = undefined> = IncludeErrno extends true | ||
@@ -95,0 +104,0 @@ ? { value: T; errnoCode: number; errnoMessage: string } |
{ | ||
"name": "node-ffi-rs", | ||
"version": "1.0.68", | ||
"version": "1.0.69", | ||
"main": "index.js", | ||
@@ -63,11 +63,11 @@ "types": "index.d.ts", | ||
"optionalDependencies": { | ||
"@yuuang/ffi-rs-win32-x64-msvc": "1.0.68", | ||
"@yuuang/ffi-rs-darwin-x64": "1.0.68", | ||
"@yuuang/ffi-rs-linux-x64-gnu": "1.0.68", | ||
"@yuuang/ffi-rs-darwin-arm64": "1.0.68", | ||
"@yuuang/ffi-rs-linux-arm64-gnu": "1.0.68", | ||
"@yuuang/ffi-rs-linux-arm64-musl": "1.0.68", | ||
"@yuuang/ffi-rs-win32-ia32-msvc": "1.0.68", | ||
"@yuuang/ffi-rs-linux-x64-musl": "1.0.68" | ||
"@yuuang/ffi-rs-win32-x64-msvc": "1.0.69", | ||
"@yuuang/ffi-rs-darwin-x64": "1.0.69", | ||
"@yuuang/ffi-rs-linux-x64-gnu": "1.0.69", | ||
"@yuuang/ffi-rs-darwin-arm64": "1.0.69", | ||
"@yuuang/ffi-rs-linux-arm64-gnu": "1.0.69", | ||
"@yuuang/ffi-rs-linux-arm64-musl": "1.0.69", | ||
"@yuuang/ffi-rs-win32-ia32-msvc": "1.0.69", | ||
"@yuuang/ffi-rs-linux-x64-musl": "1.0.69" | ||
} | ||
} |
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
35373
455