Loom C API
Public Loom compiler C API
Loading...
Searching...
No Matches
loomc_module_mutable_interop_view_t Struct Reference

Mutable native projection of a LoomC module for exact-version producers. More...

#include <interop.h>

Data Fields

loom_module_t * module
 Mutable native module owned by the public module handle.
const loom_source_table_resolver_t * source_table
 Exact source snapshots indexed by native module source ID.

Detailed Description

Mutable native projection of a LoomC module for exact-version producers.

Requesting this view invalidates cached verification and compiler products before exposing the native module. The caller may mutate the module using native Loom APIs and must leave it structurally valid before the next public LoomC operation. That operation re-establishes the required invariants.

The source table is read-only: native mutations may reuse existing source IDs but must not invent source snapshots or retain either pointer beyond the public module lifetime.


The documentation for this struct was generated from the following file: