Function in stdx_tml.h

tml_entry_at

Retrieve an entry by global entry index.

X_TML_API TMLEntry const * tml_entry_at(
 TMLDocument const *doc,
 u32 index
);

Parameters

TMLDocument const *doc
Pointer to the parsed document.
u32 index
Zero-based global entry index.

Returns

Pointer to the entry, or NULL if the index is invalid. Entries are stored sequentially in document order.