[LIB]: Introduce tag__namespace()

Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-05-24 12:31:40 -03:00
parent 32cad958cd
commit 2b47267e23
1 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,11 @@ struct namespace {
uint16_t nr_tags;
};
static inline struct namespace *tag__namespace(const struct tag *self)
{
return (struct namespace *)self;
}
/**
* struct type - base type for enumerations, structs and unions
*