libctf: lookup, open: chase header field changes

Nothing exciting here, just header fields slightly changing name
and a couple of new comments and indentation fixes.
This commit is contained in:
Nick Alcock
2025-04-25 11:54:28 +01:00
parent f7f72bcca6
commit 3c5eb5b20a
3 changed files with 21 additions and 20 deletions

View File

@@ -620,6 +620,9 @@ extern ctf_id_t ctf_lookup_by_kind (ctf_dict_t *, int kind, const char *);
typedef of a type with a *different width* (because this slice has not been
applied to it).
May error with ECTF_NONREPRESENTABLE if type 0 is seen (rare, but can happen:
not only types GCC cannot encode, but also e.g. const void variables).
Most of the time you don't need to call this: the type-querying functions
will do it for you (as noted below). */