Hi,
I was wondering if has been ever discussed to implement the cython
cdef extern from syntax as a with statement:
with cython.header_importer("") as cy:
cy.ctypedef(" unsigned int uint8 ")
cy.cfunc( " void * myfunc() )")
or also
with cython.header_importer("") as cy:
cy("""
ctypdef ...
""")
Maybe there is already something like that ?
Fabrizio
--------------------------
Luck favors the prepared mind. (Pasteur)
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev