Skip to main content

//clika-runtime/io.clika.runtime/ClikaRt/load

load

[jvm]\

@JvmOverloads

fun load(libPath: String? = null, abiVersion: Int = ABI_VERSION, layoutFingerprint: String = LAYOUT_FINGERPRINT)

Handshake and bind the api table, then arm the generated surface (ClikaRtGen.load): one call readies the whole binding (idempotent). The runtime must serve abiVersion, and its table must carry layoutFingerprint; either refusal throws before any table slot is called. libPath defaults to the already-loaded libClikaRT.so.

Throws

ClikaRtExceptionwhen the library cannot be resolved (STATUS_UNAVAILABLE) or a handshake arm is refused (STATUS_UNSUPPORTED; the message says whether to rebuild or regenerate the bindings).