[Numpy-discussion] f2py related question

Charles Doutriaux doutriaux1 at llnl.gov
Thu Sep 11 15:12:10 EDT 2008


Hello,

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 ?

Thanks,

c.




More information about the NumPy-Discussion mailing list