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

Command compiler storage policy. More...

#include <compiler.h>

Data Fields

loomc_structure_type_t type
 Structure type.
loomc_host_size_t structure_size
 Size of this structure in bytes.
const void * next
 Extension chain; currently must be NULL.
loomc_host_size_t retained_byte_limit
 Maximum retained source and staged-plan bytes, including tracking and unused arena capacity.

Detailed Description

Command compiler storage policy.

Field Documentation

◆ retained_byte_limit

loomc_host_size_t loomc_cmd_compiler_options_t::retained_byte_limit

Maximum retained source and staged-plan bytes, including tracking and unused arena capacity.

Zero disables retention. This excludes the frozen index, shared target profiles, the fixed source-lookup table, active private preparations, and underlying allocator fragmentation. Oversized entries and misses that cannot displace idle entries compile normally without retention. Passing NULL options selects 64 MiB.

◆ type

loomc_structure_type_t loomc_cmd_compiler_options_t::type

Structure type.

Must be LOOMC_STRUCTURE_TYPE_CMD_COMPILER_OPTIONS when nonzero.


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