mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 14:08:09 +08:00
libctf: add ctf_type_kind_forwarded
This is just like ctf_type_kind, except that forwards get the type of the thing being pointed to rather than CTF_K_FORWARD. include/ * ctf-api.h (ctf_type_kind_forwarded): New. libctf/ * ctf-types.c (ctf_type_kind_forwarded): New.
This commit is contained in:
@ -328,6 +328,7 @@ extern const char *ctf_type_name_raw (ctf_file_t *, ctf_id_t);
|
||||
extern ssize_t ctf_type_size (ctf_file_t *, ctf_id_t);
|
||||
extern ssize_t ctf_type_align (ctf_file_t *, ctf_id_t);
|
||||
extern int ctf_type_kind (ctf_file_t *, ctf_id_t);
|
||||
extern int ctf_type_kind_forwarded (ctf_file_t *, ctf_id_t);
|
||||
extern ctf_id_t ctf_type_reference (ctf_file_t *, ctf_id_t);
|
||||
extern ctf_id_t ctf_type_pointer (ctf_file_t *, ctf_id_t);
|
||||
extern int ctf_type_encoding (ctf_file_t *, ctf_id_t, ctf_encoding_t *);
|
||||
|
Reference in New Issue
Block a user