RE: [ROOT] rootcint typedef problem

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


Hi,
Thanks for help, but ...

> > extern NIVXI_HWSSECMD DefaultWSSEcmdHandler;            /* <- LINE:1600 */
> You probably meant to type 
> > extern NIVXI_HWSSECMD* DefaultWSSEcmdHandler;            /* <- LINE:1600 */
No. The DefaultWSSEcmdHandler is a function, not a pointer.

> I think the typedef must be:
> typedef void (*NIVXI_HWSSECMD) (UINT16 cmdExt, UINT32 cmd);
Again no. It should not be a pointer to a function, but the function
itself.

I think that this is some kind of a limitation pr bug of cint and I'd
appreciate a clear statement about it.
Jacek.



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