On Oct 3, 2008, at 9:29 PM, Lisandro Dalcin wrote:

> OK, at this link http://publications.gbdirect.co.uk/c_book/chapter8/ 
> typedef.html
>
> I've found the following example:
>
> /*
> * Using typedef, declare 'func' to have type
> * 'function taking two int arguments, returning int'
> */
> typedef int func(int, int);
> /* ERROR */
> func func_name{ /*....*/ }
> /* Correct. Returns pointer to a type 'func' */
> func *func_name(){ /*....*/ }
> /*
> * Correct if functions could return functions,
> * but C can't.
> */
> func func_name(){ /*....*/ }
>
>
> I'm fine with that. So I´ll try tomorrow if Robert´s modifications can
> handle this form. Thank's for the point, Greg!
>

Lisandro,

What was the final resolution on this?

- Robert


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

Reply via email to