diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2025-04-25 11:44:19 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2025-04-25 18:07:43 +0100 |
commit | 33326f571fbf4943d5d55994705904e07cad1931 (patch) | |
tree | acdedbdd3d87002bb83c5fdc07c24d2eb516d8e1 /libctf/ctf-intl.h | |
parent | 1ece8c93c03eb38f4658d202817e3f7e3fc81e6a (diff) | |
download | binutils-33326f571fbf4943d5d55994705904e07cad1931.zip binutils-33326f571fbf4943d5d55994705904e07cad1931.tar.gz binutils-33326f571fbf4943d5d55994705904e07cad1931.tar.bz2 |
libctf: types: recursive type visiting
ctf_type_visit and ctf_type_rvisit have to adapt to the internal
API changes, but also to the change in the representation of
structures. The new code is quite a lot simpler than the old,
because we don't need to roll our own iterator but can just use
ctf_member_next.
API changes, the usual for the *_f typedefs and anything to do with
structures:
-typedef int ctf_visit_f (const char *name, ctf_id_t type, unsigned long offset,
- int depth, void *arg);
+typedef int ctf_visit_f (ctf_dict_t *, const char *name, ctf_id_t type,
+ size_t offset, int bit_width, int depth,
void *arg);
Diffstat (limited to 'libctf/ctf-intl.h')
0 files changed, 0 insertions, 0 deletions