|
Loom C API
Public Loom compiler C API
|
Text and JSON configuration bindings. More...
Go to the source code of this file.
Data Structures | |
| struct | loomc_config_binding_t |
| Single configuration key/value binding. More... | |
| struct | loomc_config_options_t |
| Text configuration bindings and resolution policy shared by API operations. More... | |
Typedefs | |
| typedef uint32_t | loomc_config_policy_flags_t |
| Bitmask of loomc_config_policy_flag_bits_t values. | |
Enumerations | |
| enum | loomc_config_policy_flag_bits_t { LOOMC_CONFIG_POLICY_FLAG_REQUIRE_RESOLVED = 1u << 0 } |
| Configuration validation and resolution policy bit values. More... | |
Text and JSON configuration bindings.
Module configuration, link, command-product, and target-artifact operations accept borrowed key/value data plus one optional JSON/JSONC object string. Bindings without a matching config declaration are ignored so one stable config bag can serve modules that consume different subsets. The staged loomc_compile_module operation instead accepts an ordinary typed module containing config.def operations; callers load that module through the normal text or bytecode module APIs.