Re: Calling C function from Fortran
- From: "[JvO]" <jvo_36@xxxxxxxxxxx>
- Date: 3 Nov 2005 06:08:40 -0800
I don't see the declaration of
AC, BAS and BY in your Fortran program. (Strings or arrays ?)
Most compilers add an extra argument to a procedure to pass the length
of the CHAR variables.
This may cause the mismatch.
Why do you use %ref ?
Aren't all arguments (in *.c) declared as pointers ?
[JvO]
.
- Follow-Ups:
- Re: Calling C function from Fortran
- From: Jugoslav Dujic
- Re: Calling C function from Fortran
- References:
- Calling C function from Fortran
- From: Feng
- Calling C function from Fortran
- Prev by Date: Re: should i write keywords uppercase?
- Next by Date: Re: Calling C function from Fortran
- Previous by thread: Calling C function from Fortran
- Next by thread: Re: Calling C function from Fortran
- Index(es):
Relevant Pages
|