[f2py] f2py c flags

Sam Tygier <[email protected]>
Newsgroups gmane.comp.python.f2py.user
Message-ID <1277896544.4514.14.camel@hydrogen>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.