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:
Nick Alcock 2020-06-02 21:09:49 +01:00
parent 01d9317436
commit 9b15cbb789
5 changed files with 30 additions and 0 deletions

View file

@ -63,6 +63,7 @@ LIBCTF_1.0 {
ctf_type_size;
ctf_type_align;
ctf_type_kind;
ctf_type_kind_forwarded;
ctf_type_reference;
ctf_type_pointer;
ctf_type_encoding;