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

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_ttarget_environment
 Target environment to register with the context.

Detailed Description

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.

Field Documentation

◆ type

loomc_structure_type_t loomc_context_target_options_t::type

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