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

One serialized command root and its executable-entry projection. More...

#include <program.h>

Data Fields

loomc_string_view_t symbol
 Root symbol without a leading @.
loomc_artifact_t artifact
 Portable command-program artifact.
const loomc_requirement_ordinal_tentry_requirement_ordinals
 Product-local entry requirement ordinals in root-local slot order.
loomc_host_size_t entry_requirement_count
 Number of entries in entry_requirement_ordinals.

Detailed Description

One serialized command root and its executable-entry projection.

Lifetime
Every view borrows from the product that returned this record and remains valid until that product is released.

Field Documentation

◆ artifact

loomc_artifact_t loomc_cmd_program_t::artifact

Portable command-program artifact.

The artifact identifier is symbol, its kind is LOOMC_ARTIFACT_KIND_EXECUTABLE, and its format is LOOMC_ARTIFACT_FORMAT_CMD_PROGRAM.


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