Pyrex Hard Case
François Pinard
pinard at iro.umontreal.ca
Tue Apr 29 08:00:54 EDT 2003
[Rodrigo Benenson]
> [Francois Pinard]
> > [rdrb at 123.cl]
> >>>cdef extern from *:
> >>> MACRO_NAME(EXPECTED_ARGUMENTS)
> >>I had already done that.
> >>extern MACRO_NAME(EXPECTED_ARGUMENTS)
> > This is not the same thing.
> [...] I did test your suggestion and it creates the same output. It's
> obvious it should do, because we are defining and External Function
> Prototype.
This is strange that you get unchanged output. A first reason is how the
the `cdef extern from *:' is documented to work. Another is that it works
as documented for me (not on your problem, of course, but for similar ones).
A last reason, admittedly vaporous, is that Pyrex sources finality is to
control how C code is generated, and so, it is likely that changing Pyrex
sources will change generated C. I'm sorry to not have helped you better,
and I wish you will succeed in finding an elegant solution to your problem.
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list