RE: [ROOT] rootcint typedef problem

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Wed Jul 19 2000 - 17:44:36 MEST


> > > > extern NIVXI_HWSSECMD DefaultWSSEcmdHandler;            /* <- 
> (...)
> > No. The DefaultWSSEcmdHandler is a function, not a pointer.
> 
> How to you actually initialize this variable?
This is NOT a VARIABLE. This is a FUNCTION. In this particular case most
probably something like "Default WSSE Command Handler".
I think that the sequence :
	typedef void NIVXI_HWSSECMD (UINT16 cmdExt, UINT32 cmd);
	extern NIVXI_HWSSECMD DefaultWSSEcmdHandler;
could probably be manually rewritten as :
	extern void DefaultWSSEcmdHandler(UINT16 cmdExt, UINT32 cmd);
I get commercial shared libraries and some ".h" files. I'd like to see
these typedefs, functions, ... in "root", but "rootcint" fails to generate
the dictionary. There are too many places in the interface which I would
need to change.
So, either I get some smart solution, or I will have to give up this idea.
Jacek.



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