Class AniraBindings#

The C ABI over one module instance, generated from abi/anira.yml into web/src/abi/bindings.ts: one method per entry point under its C name (abi.anira_context_create(config)), the out parameters returned, the anira_error made by the binding and a failed status thrown as an AniraError, strings in and out as JS strings, anira_bool as boolean, 64-bit integers as bigint. The main instance’s is anira.abi. The entries themselves are documented with the C headers (API Documentation).

class AniraBindings(module)#

The C ABI over one module instance: new AniraBindings(module) where module is the instance’s Module (the main thread’s, a Wasm Worker’s or the audio worklet’s).

Arguments:
  • module (AbiModule)