|
Loom C API
Public Loom compiler C API
|
Borrowed artifact view owned by a producer-specific result or product. More...
#include <artifact.h>
Data Fields | |
| loomc_artifact_kind_t | kind |
| Artifact kind. | |
| loomc_string_view_t | format |
| Stable format string, such as amdgpu-hsaco, spirv, LOOMC_ARTIFACT_FORMAT_LOOM_TEXT, or LOOMC_ARTIFACT_FORMAT_JSON. | |
| loomc_string_view_t | identifier |
| Human-readable artifact identifier. | |
| loomc_byte_sequence_t * | contents |
| Immutable artifact bytes. | |
Borrowed artifact view owned by a producer-specific result or product.
| loomc_byte_sequence_t* loomc_artifact_t::contents |
Immutable artifact bytes.
Valid artifacts always provide a non-NULL sequence, including for empty contents.