[ROOT] rootcint typedef problem

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Fri Jul 07 2000 - 09:00:31 MEST


Hi,
I have a small problem with typedefs.
In some include files I have a couple of lines looking like :
----------------
typedef void NIVXI_HWSSECMD (UINT16 cmdExt, UINT32 cmd);
extern NIVXI_HWSSECMD *GetWSSEcmdHandler(void);
extern NIVXI_STATUS SetWSSEcmdHandler(NIVXI_HWSSECMD *func);
extern NIVXI_HWSSECMD DefaultWSSEcmdHandler;            /* <- LINE:1600 */
----------------
What I get from rootcint is :
	Error: void type variable can not be declared FILE:NIVXI.h LINE:1600
It seems that it cannot properly handle NIVXI_HWSSECMD in the last
presented line, which in turn possibly means that it also improperly
handles all other lines related to NIVXI_HWSSECMD.
As there are more similar typedefs in the source code I would need a smart
solution.
Thanks in advance,
Jacek.



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET