Comparing version 2.3.11 to 2.3.12
@@ -7,2 +7,9 @@ # Changelog | ||
#### Koffi 2.3.12 | ||
**Main fixes:** | ||
- Fix broken syntax in TS definition file | ||
- Add missing exported properties in TS file | ||
#### Koffi 2.3.11 | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "koffi", | ||
"version": "2.3.11", | ||
"stable": "2.3.11", | ||
"version": "2.3.12", | ||
"stable": "2.3.12", | ||
"description": "Fast and simple C FFI (foreign function interface) for Node.js", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -25,5 +25,5 @@ // Copyright 2023 Niels Martignène <niels.martignene@protonmail.com> | ||
interface IKoffiCType { __brand: 'IKoffiCType' }; | ||
interface IKoffiPointerCast { __brand: 'IKoffiPointerCast' }; | ||
interface IKoffiRegisteredCallback { __brand: 'IKoffiRegisteredCallback' }; | ||
interface IKoffiCType { __brand: 'IKoffiCType' } | ||
interface IKoffiPointerCast { __brand: 'IKoffiPointerCast' } | ||
interface IKoffiRegisteredCallback { __brand: 'IKoffiRegisteredCallback' } | ||
@@ -83,3 +83,3 @@ type PrimitiveKind = 'Void' | 'Bool' | 'Int8' | 'UInt8' | 'Int16' | 'Int16S' | 'UInt16' | 'UInt16S' | | ||
thiscall(name: string, result: TypeSpec, arguments: TypeSpec[]): KoffiFunction; | ||
}; | ||
} | ||
@@ -135,2 +135,5 @@ export function struct(name: string, def: Record<string, TypeSpecWithAlignment>): IKoffiCType; | ||
export function stats(): Record<string, unknown>; | ||
export let internal: Boolean; | ||
export let extension: String; | ||
} |
17359321
6526