[Numpy-discussion] f2py related question

Charles Doutriaux doutriaux1@llnl....
Thu Sep 11 14:12:10 CDT 2008


I have a quick question that I'm hoping f2py developpers will be able to 
quickly answer

I have some C code, input type can be either int or long
I'm trying to write some fortran interface to it

my understanding is that
integer in fortran corresponds to int
integer(kind=2) matches short
but what would match long ?



More information about the Numpy-discussion mailing list