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

Pass program creation options. More...

#include <pass.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 reserved for future pass-program options.
loomc_string_view_t identifier
 Stable identifier used in diagnostics and reports.

Detailed Description

Pass program creation options.

Callers zero-initialize this descriptor, set type to LOOMC_STRUCTURE_TYPE_PASS_PROGRAM_OPTIONS, set structure_size to sizeof(loomc_pass_program_options_t), and fill the requested fields.

Field Documentation

◆ identifier

loomc_string_view_t loomc_pass_program_options_t::identifier

Stable identifier used in diagnostics and reports.

Empty selects a library-defined identifier.

◆ type

loomc_structure_type_t loomc_pass_program_options_t::type

Structure type.

Must be LOOMC_STRUCTURE_TYPE_PASS_PROGRAM_OPTIONS when nonzero.


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