[pygccxml-development] Obtain class definition from class declaration
Brought to you by:
mbaas,
roman_yakovenko
From: Daniele P. <mu...@gm...> - 2009-05-28 11:15:59
|
Hi all, I'm using the (great :D) pygccxml package to implement a wrappers generator for some C libraries used in my company. Given a Foo library/component, the pygccxml parser is launched on the Foo.h header (not on other headers used by the same library, ex. Foo_bar.h). Now a particular case has arisen: if a Bar structure in Foo.h is declared (but defined in another header NOT included by the Foo.h), I'm able to obtain the Bar declaration but not the Bar definition. I've checked the class_declaration_t type but I've not found any useful property-method. How can I solve my problem? Do I need to mandatory parse all header related to the Foo library to obtain all structure definitions or is there another way to obtain a structure definition from a struct declaration? Thanks for your help and for the amazing work done with the pygccxml package, Daniele |