API Reference / @gtkx/runtime / resolveType
Function: resolveType()
resolveType(
sharedLibrary,typeFnName):bigint
Defined in: packages/runtime/src/type.ts:186
Resolves the GType produced by a get_type function in a shared library, caching the result per library and function name.
Parameters
sharedLibrary
string
Path or name of the shared library exporting the function.
typeFnName
string
Name of the *_get_type function to call.
Returns
bigint