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

Request-linking options. More...

#include <link.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_string_view_t module_name
 Output module name. Empty uses the linker's default module name.
loomc_config_options_t config
 Config bindings materialized into the linked request.

Detailed Description

Request-linking options.

Request linking treats the request source as one primary INPUT provider, selects its roots by exact indexed identity, resolves their complete closure against an optional immutable library universe, and serializes the result as a new ordinary bytecode request. The output preserves the input product descriptor, root order, and provisional parent bindings.

Field Documentation

◆ library_index

const loomc_link_index_t* loomc_link_request_options_t::library_index

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

Passing NULL seals the request against its own source only.

◆ type

loomc_structure_type_t loomc_link_request_options_t::type

Structure type.

Must be LOOMC_STRUCTURE_TYPE_LINK_REQUEST_OPTIONS when nonzero.


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