mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Remove repeated info from "ffi" module
This commit is contained in:
Vendored
+1
-12
@@ -53,20 +53,9 @@ declare module "ffi" {
|
||||
retType: Type;
|
||||
/** The type of arguments. */
|
||||
argTypes: Type[];
|
||||
abi: number;
|
||||
|
||||
/** Is set for node-ffi functions. */
|
||||
ffi_type: NodeBuffer;
|
||||
/** The size in bytes required to hold this datatype. */
|
||||
size: number;
|
||||
/** The current level of indirection of the buffer. */
|
||||
indirection: number;
|
||||
/** To invoke when `ref.get` is invoked on a buffer of this type. */
|
||||
get(buffer: NodeBuffer, offset: number): any;
|
||||
/** To invoke when `ref.set` is invoked on a buffer of this type. */
|
||||
set(buffer: NodeBuffer, offset: number, value): void;
|
||||
/** The alignment of this datatype when placed inside a struct. */
|
||||
alignment: number;
|
||||
abi: number;
|
||||
|
||||
/** Get a `Callback` pointer of this function type. */
|
||||
toPointer(fn: (...args: any[]) => any): NodeBuffer;
|
||||
|
||||
Reference in New Issue
Block a user