Whats the rationale of the following being illegal in Cython?

cdef extern from "bar.h":
     void foo(void)

If I'm not wrong, in a C context (but not C++), the declarations

void foo(void);
void foo();

are not equivalent, the second is actually means something like

void foo(...)

Anyway, as  void foo(void) is a valid C (C++?) function declaration, I
would ask for that form being legal in Cython, unless there is a some
technical issue like leading to an ambiguous grammar.

-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to