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

Configuration options attached to a link or compile invocation. More...

#include <config.h>

Data Fields

const loomc_config_binding_tbindings
 Plain key/value bindings.
loomc_host_size_t binding_count
 Number of entries in bindings.
loomc_string_view_t json_object
 Optional JSON/JSONC object string normalized into the same binding set.
loomc_config_policy_flags_t flags
 Config validation and resolution policy flags.

Detailed Description

Configuration options attached to a link or compile invocation.

The plain binding array and optional JSON/JSONC object string normalize into the same key/value binding set. When both spellings define the same key, the explicit bindings entry overrides the JSON object entry.

Lifetime
All views and arrays are borrowed for the duration of the API call unless the consuming operation explicitly documents a longer copy.

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