BCS Wrote:
> in D the more normal way to write that would be:
> 
> typedef bool function(bsp_t* node, void* userData) TCOD_bsp_callback_t;

Ahh! Thanks a ton, that seems to work like I needed.  

> C code and delegates are incomparable but C and function pointers are not.

I must have been misreading that bit then, thanks for clarifying.  
Listeners/Delegates have always confused me, I really need to do some tutorials 
and try to understand them better. 


Reply via email to