Skip to content

API Reference / @gtkx/native / bind

Function: bind()

bind(sharedLibrary, symbolName, argDescriptors, returnDescriptor): ExternalObject<CallDescriptor>

Defined in: index.d.ts:33

Resolves symbolName in sharedLibrary and precompiles its argument and return marshalling into a reusable call descriptor that call can invoke.

Parameters

sharedLibrary

string

symbolName

string

argDescriptors

Descriptor[]

returnDescriptor

Descriptor

Returns

ExternalObject<CallDescriptor>

Released under the MPL-2.0 License.