koffi 2.3.11 → 2.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/build/{2.3.11 → 2.3.12}/koffi_win32_arm64/koffi.node +0 -0
- package/build/{2.3.11 → 2.3.12}/koffi_win32_ia32/koffi.node +0 -0
- package/build/{2.3.11 → 2.3.12}/koffi_win32_x64/koffi.node +0 -0
- package/package.json +2 -2
- package/src/index.d.ts +7 -4
- /package/build/{2.3.11 → 2.3.12}/koffi_darwin_arm64/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_darwin_x64/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_freebsd_arm64/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_freebsd_ia32/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_freebsd_x64/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_linux_arm32hf/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_linux_arm64/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_linux_ia32/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_linux_riscv64hf64/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_linux_x64/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_openbsd_ia32/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_openbsd_x64/koffi.node +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_win32_arm64/koffi.exp +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_win32_arm64/koffi.lib +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_win32_ia32/koffi.exp +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_win32_ia32/koffi.lib +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_win32_x64/koffi.exp +0 -0
- /package/build/{2.3.11 → 2.3.12}/koffi_win32_x64/koffi.lib +0 -0
package/CHANGELOG.md
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
declare module 'koffi' {
|
|
23
23
|
export function load(path: string): IKoffiLib;
|
|
24
24
|
|
|
25
|
-
interface IKoffiCType { __brand: 'IKoffiCType' }
|
|
26
|
-
interface IKoffiPointerCast { __brand: 'IKoffiPointerCast' }
|
|
27
|
-
interface IKoffiRegisteredCallback { __brand: 'IKoffiRegisteredCallback' }
|
|
25
|
+
interface IKoffiCType { __brand: 'IKoffiCType' }
|
|
26
|
+
interface IKoffiPointerCast { __brand: 'IKoffiPointerCast' }
|
|
27
|
+
interface IKoffiRegisteredCallback { __brand: 'IKoffiRegisteredCallback' }
|
|
28
28
|
|
|
29
29
|
type PrimitiveKind = 'Void' | 'Bool' | 'Int8' | 'UInt8' | 'Int16' | 'Int16S' | 'UInt16' | 'UInt16S' |
|
|
30
30
|
'Int32' | 'Int32S' | 'UInt32' | 'UInt32S' | 'Int64' | 'Int64S' | 'UInt64' | 'UInt64S' |
|
|
@@ -79,7 +79,7 @@ declare module 'koffi' {
|
|
|
79
79
|
|
|
80
80
|
thiscall(definition: string): KoffiFunction;
|
|
81
81
|
thiscall(name: string, result: TypeSpec, arguments: TypeSpec[]): KoffiFunction;
|
|
82
|
-
}
|
|
82
|
+
}
|
|
83
83
|
|
|
84
84
|
export function struct(name: string, def: Record<string, TypeSpecWithAlignment>): IKoffiCType;
|
|
85
85
|
export function struct(def: Record<string, TypeSpecWithAlignment>): IKoffiCType;
|
|
@@ -130,4 +130,7 @@ declare module 'koffi' {
|
|
|
130
130
|
export function config(): Record<string, unknown>;
|
|
131
131
|
export function config(cfg: Record<string, unknown>): Record<string, unknown>;
|
|
132
132
|
export function stats(): Record<string, unknown>;
|
|
133
|
+
|
|
134
|
+
export let internal: Boolean;
|
|
135
|
+
export let extension: String;
|
|
133
136
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|