add h_seq_len
This commit is contained in:
parent
118c03c534
commit
b58b82b473
2 changed files with 10 additions and 0 deletions
|
|
@ -74,6 +74,9 @@ uint64_t h_cast_uint (const HParsedToken *p);
|
|||
|
||||
// Sequence access...
|
||||
|
||||
// Return the length of a sequence.
|
||||
size_t h_seq_len(const HParsedToken *p);
|
||||
|
||||
// Access a sequence element by index.
|
||||
HParsedToken * h_seq_index(const HParsedToken *p, size_t i);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue