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

Command-product options for an ordinary bytecode request. More...

#include <program.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
 Optional invocation extensions such as loomc_target_specialization_options_t.
const loomc_link_index_tlibrary_index
 Optional frozen library-only index used to resolve request declarations.
loomc_config_options_t config
 Per-invocation config bindings applied during selective materialization.
loomc_request_sink_t request_sink
 Optional sink enabling source-backed kernel request publication.

Detailed Description

Command-product options for an ordinary bytecode request.

The request source is appended to an invocation-local module-index overlay as its only INPUT provider. An optional frozen library supplies dependencies without being traversed or copied. Request roots select command programs by exact bytecode-local identity and preserve their order and duplicates in the returned product.

Field Documentation

◆ library_index

const loomc_link_index_t* loomc_cmd_program_request_options_t::library_index

Optional frozen library-only index used to resolve request declarations.

Passing NULL plans against the request source alone.

◆ request_sink

loomc_request_sink_t loomc_cmd_program_request_options_t::request_sink

Optional sink enabling source-backed kernel request publication.

A NULL callback leaves kernel implementation bodies unopened and returns only executable-entry requirements.

◆ type

loomc_structure_type_t loomc_cmd_program_request_options_t::type

Structure type.

Must be LOOMC_STRUCTURE_TYPE_CMD_PROGRAM_REQUEST_OPTIONS when nonzero.


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