aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-intl.h
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2025-04-25 11:47:07 +0100
committerNick Alcock <nick.alcock@oracle.com>2025-04-25 18:07:43 +0100
commit4837852527158d74151671fd4bd6bc7f47421491 (patch)
tree31b76e79be371f8a1ad7b8a6f1755763d0fef6e4 /libctf/ctf-intl.h
parent33326f571fbf4943d5d55994705904e07cad1931 (diff)
downloadbinutils-4837852527158d74151671fd4bd6bc7f47421491.zip
binutils-4837852527158d74151671fd4bd6bc7f47421491.tar.gz
binutils-4837852527158d74151671fd4bd6bc7f47421491.tar.bz2
libctf: types: access to raw type data
This new API lets users ask for the raw type data associated with a type (either the whole lot including prefixes, or just the suffix if this is not a CTF_K_BIG type), and then they can manipulate it using ctf.h functions or whatever else they like. Doing this does not preclude using libctf querying functions at the same time (just don't change the type! It's const for a reason). New API: +const ctf_type_t *ctf_type_data (ctf_dict_t *, ctf_id_t, int prefix); This function was unimplementable before the DTD changes, because the ctf_type_t and vlen were separated in memory: but now they're always stored in a single buffer, it's reliable and simple, indeed trivial.
Diffstat (limited to 'libctf/ctf-intl.h')
0 files changed, 0 insertions, 0 deletions