node-ctypes - v2.17.1
GitHub
npm
Preparing search index...
index
callback
Function callback
callback
<
TRet
extends
CallbackRestype
,
const
TArgs
extends
readonly
FFIType
[]
=
readonly
[
]
,
>
(
fn
:
(
...
args
:
CallbackArgs
<
TArgs
>
)
=>
CallbackResult
<
TRet
>
,
returnType
:
TRet
,
argTypes
?:
TArgs
,
options
?:
|
"cdecl"
|
"stdcall"
|
"fastcall"
|
"thiscall"
|
"default"
|
CallbackOptions
,
)
:
CallbackWrapper
Type Parameters
TRet
extends
CallbackRestype
const
TArgs
extends
readonly
FFIType
[]
=
readonly
[
]
Parameters
fn
:
(
...
args
:
CallbackArgs
<
TArgs
>
)
=>
CallbackResult
<
TRet
>
returnType
:
TRet
Optional
argTypes
:
TArgs
Optional
options
:
"cdecl"
|
"stdcall"
|
"fastcall"
|
"thiscall"
|
"default"
|
CallbackOptions
Returns
CallbackWrapper
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
node-ctypes - v2.17.1
Loading...