[f2py] f2py c flags

Sam Tygier Sam.Tygier at hep.manchester.ac.uk
Wed Jun 30 14:15:44 EEST 2010


hello

f2py has options for setting fortran compile flags, --f77flags and
--f90flags, but there are no equivalent c flag options documented. do
they exist?

using:
CFLAGS="--std=c99" f2py ...
seems to work. is this the recommended method? should it be documented.

Also is it possible to use f2py directives directly in C code? i can't
find any examples of this.

thanks

sam




More information about the f2py-users mailing list