mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-19 00:49:47 +08:00
libctf: add ctf_member_count
This returns the number of members in a struct or union, or the number of enumerations in an enum. (This was only available before now by iterating across every member, but it can be returned much faster than that.) include/ * ctf-api.h (ctf_member_count): New. libctf/ * ctf-types.c (ctf_member_count): New. * libctf.ver: New public function.
This commit is contained in:
@ -73,6 +73,7 @@ LIBCTF_1.0 {
|
||||
|
||||
ctf_member_info;
|
||||
ctf_array_info;
|
||||
ctf_member_count;
|
||||
|
||||
ctf_enum_name;
|
||||
ctf_enum_value;
|
||||
|
Reference in New Issue
Block a user