add h_seq_len

This commit is contained in:
Sven M. Hallberg 2013-01-25 18:52:07 +01:00
parent 118c03c534
commit b58b82b473
2 changed files with 10 additions and 0 deletions

View file

@ -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);