Lisandro Dalcin wrote:

> I believe casting funtion pointers to void* pointers is not
> valid C99 code. In short, (void*) is a pointer to 'data',
> void(*)(void) is a pointer to 'code'.

Yeah, I discovered that too when trying to compile with
-pedantic.

Does anyone know what the correct way to spell "pointer to
any function" is in C99? It seems like just as legitimate
a notion to me as "pointer to any data", but I can't find
a way of expressing it.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to