Re: Fortran functions?

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Fortran functions?
Дата
Msg-id 3D3613FB.5D1CA52E@fourpalms.org
обсуждение исходный текст
Ответ на Fortran functions?  (Lamar Owen <lamar.owen@wgcr.org>)
Ответы Re: Fortran functions?
Список pgsql-general
> My cross-language linking skills are lacking.

Once you get into it you'll be OK. C wrappers are necessary to convert
all "by value" results to "by reference" for Fortran, and you'll likely
need to do that anyway to get past the user-defined-function calling
parameter list.

In the past (and maybe now) there may be reversed order of arguments on
the stack and may be some name mangling from Fortran (I've seen
underscores added to the front of parameters for the linker).

It's been years since I've glued Fortran to C, but it is definitely
possible. And it should be smoother than back when I was doing it...

                  - Thomas

В списке pgsql-general по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [GENERAL] SysAdmin magazine is doing a "Call for Papers" about
Следующее
От: Darren Ferguson
Дата:
Сообщение: Re: DELETE FROM error message