[Numpy-discussion] Calling routines from a Fortran library using python
Thu Feb 18 04:07:23 CST 2010
On Thu, 18 Feb 2010 18:32:18 +0900
David Cournapeau <firstname.lastname@example.org> wrote:
> Nils Wagner wrote:
>> Hi all,
>> I have a static library (*.a) compiled by gfortran but
>> source files.
>> How can I call routines from that library using python ?
> Is there any kind of interface (.h, etc...) ? If this is
> library, there has to be something so that it can be
>called from C, and
> anything that can be called from C can be called from
>python. If you
> don't know at least the functions signatures, it will be
> (you would have to disassemble the code to find how the
> called, etc...).
you are right. It's a proprietary library.
I found a header file (*.h) including prototype
declarations of externally callable procedures.
How can I proceed ?
Thank you again.
More information about the NumPy-Discussion