Create a context with default allocators.
Create a context with custom allocators, checking the API version.
Find a function item by name across all loaded modules in ctx. Use this instead of MIR_get_global_item (declared in mir.h but not implemented).
Iterate the modules currently in ctx (e.g. those created by c2mir_compile). Newest modules are at the tail.
mirjit.core — bindings to mir.h (the MIR core API).
static inline helpers from the header (MIR_init / MIR_init2) are reimplemented as D functions at the bottom; everything else is a 1:1 extern(C) declaration.