|
Loom C API
Public Loom compiler C API
|
Context creation options. More...
#include <context.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 for context options such as loomc_context_target_options_t. | |
| loomc_source_retention_t | source_retention |
| Source-content retention for operations using this context. | |
Context creation options.
Callers zero-initialize this descriptor, set type to LOOMC_STRUCTURE_TYPE_CONTEXT_OPTIONS, set structure_size to sizeof(loomc_context_options_t), and fill the requested fields.
| loomc_source_retention_t loomc_context_options_t::source_retention |
Source-content retention for operations using this context.
Serialized bytecode retained by a reusable link index is operational linker input and is not governed by this diagnostic policy.
| loomc_structure_type_t loomc_context_options_t::type |
Structure type.
Must be LOOMC_STRUCTURE_TYPE_CONTEXT_OPTIONS when nonzero.