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

Link-index builder creation options. More...

#include <link_index.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 builder options.
loomc_host_size_t block_size
 Total bytes acquired from the host allocator per persistent frozen-index block.

Detailed Description

Link-index builder creation options.

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

Field Documentation

◆ block_size

loomc_host_size_t loomc_link_index_builder_options_t::block_size

Total bytes acquired from the host allocator per persistent frozen-index block.

Internal tracking metadata consumes part of this capacity.

◆ type

loomc_structure_type_t loomc_link_index_builder_options_t::type

Structure type.

Must be LOOMC_STRUCTURE_TYPE_LINK_INDEX_BUILDER_OPTIONS when nonzero.


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