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

Strict dependency analysis options. More...

#include <link_dependency.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 for future analysis options.
const loomc_host_size_tdirect_provider_ordinals
 LIBRARY provider ordinals declared as direct dependencies.
loomc_host_size_t direct_provider_count
 Number of entries in direct_provider_ordinals.
loomc_string_view_t component_name
 Caller-owned component name used only as diagnostic/report provenance.
loomc_link_dependency_artifact_flags_t artifact_flags
 Optional report artifacts to attach to the returned result.
loomc_string_view_t report_identifier
 Identifier for the JSON report artifact.

Detailed Description

Strict dependency analysis options.

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

Field Documentation

◆ component_name

loomc_string_view_t loomc_link_dependency_analysis_options_t::component_name

Caller-owned component name used only as diagnostic/report provenance.

This may be a build label, logical package name, or empty. It never participates in symbol identity or resolution.

◆ direct_provider_ordinals

const loomc_host_size_t* loomc_link_dependency_analysis_options_t::direct_provider_ordinals

LIBRARY provider ordinals declared as direct dependencies.

Other LIBRARY providers in the index remain visible as the transitive audit universe but cannot directly satisfy dependency ownership.

◆ report_identifier

loomc_string_view_t loomc_link_dependency_analysis_options_t::report_identifier

Identifier for the JSON report artifact.

Empty uses dependency-report.json.

This must be empty unless LOOMC_LINK_DEPENDENCY_ARTIFACT_FLAG_REPORT_JSON is set.

◆ type

loomc_structure_type_t loomc_link_dependency_analysis_options_t::type

Structure type.

Must be LOOMC_STRUCTURE_TYPE_LINK_DEPENDENCY_ANALYSIS_OPTIONS when nonzero.


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