|
Loom C API
Public Loom compiler C API
|
Context option extension that registers a target environment. More...
#include <target.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 |
| Next context option extension. | |
| loomc_target_environment_t * | target_environment |
| Target environment to register with the context. | |
Context option extension that registers a target environment.
Put this descriptor on loomc_context_options_t::next so target dialects are registered before the context is finalized. The context retains the target environment on success; the caller may release its reference after loomc_context_create returns.
| loomc_structure_type_t loomc_context_target_options_t::type |
Structure type.