core: Document type->node member usage

Right now its just for when we emit types, so we can reuse it for
instance, to handle different types with the same name in different CUs
in pahole.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-08-04 13:11:28 -03:00
parent cead526d6b
commit ce9de90364
1 changed files with 1 additions and 0 deletions

View File

@ -948,6 +948,7 @@ struct tag_cu_node {
/**
* struct type - base type for enumerations, structs and unions
*
* @node: Used in emissions->fwd_decls, i.e. only on the 'dwarves_emit.c' file
* @nr_members: number of non static DW_TAG_member entries
* @nr_static_members: number of static DW_TAG_member entries
* @nr_tags: number of tags