QOF iteration and callbacks

Linas Vepstas linas at linas.org
Fri Jun 18 10:08:10 EDT 2004


On Thu, Jun 17, 2004 at 10:46:33AM -0400, Derek Atkins was heard to remark:
> > void gnc_bm_foreach (QofEntity obj, gpointer ud1); doesn't work. Why?
>
> You need (QofEntity* obj, gpointer ud1).  

I'm guessing that the * was dropped accidentally, and then Niel 
had a very hard seeing that it was missing.  Once you miss 
something like that, the brain can leap to various incorrect 
conclusions, and then ...

> > my brain is getting addled, is that 
> > example a declaration or just another cast?

which didn't have anythingto do with the actual problem.

--linas

-- 
pub  1024D/01045933 2001-02-01 Linas Vepstas (Labas!) <linas at linas.org>
PGP Key fingerprint = 8305 2521 6000 0B5E 8984  3F54 64A9 9A82 0104 5933


More information about the gnucash-devel mailing list