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

Function metadata view written into caller-provided storage. More...

#include <module.h>

Data Fields

loomc_host_size_t function_ordinal
 Ordinal in the module's public function metadata sequence.
loomc_string_view_t symbol_name
 Loom module symbol name, without a leading @.
loomc_module_function_kind_t kind
 Function category.
loomc_module_function_flags_t flags
 Present metadata flags.

Detailed Description

Function metadata view written into caller-provided storage.

This is the common identity record for every function kind. Function-kind specific payloads remain on the owning APIs instead of being mixed into this structure.

Lifetime
symbol_name borrows from the module that produced this view. The view and function_ordinal remain valid until that module is released or mutated.

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