Skip to content

Commit 660cb0b

Browse files
committed
Remove repeated info from "ffi" module
1 parent 6d31303 commit 660cb0b

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

node-ffi/node-ffi.d.ts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,9 @@ declare module "ffi" {
5353
retType: Type;
5454
/** The type of arguments. */
5555
argTypes: Type[];
56-
abi: number;
57-
5856
/** Is set for node-ffi functions. */
5957
ffi_type: NodeBuffer;
60-
/** The size in bytes required to hold this datatype. */
61-
size: number;
62-
/** The current level of indirection of the buffer. */
63-
indirection: number;
64-
/** To invoke when `ref.get` is invoked on a buffer of this type. */
65-
get(buffer: NodeBuffer, offset: number): any;
66-
/** To invoke when `ref.set` is invoked on a buffer of this type. */
67-
set(buffer: NodeBuffer, offset: number, value): void;
68-
/** The alignment of this datatype when placed inside a struct. */
69-
alignment: number;
58+
abi: number;
7059

7160
/** Get a `Callback` pointer of this function type. */
7261
toPointer(fn: (...args: any[]) => any): NodeBuffer;

0 commit comments

Comments
 (0)