Pauli, I finally understood your idea!!!! What a good hack!!!

You have to pass an integer array with enough space in order Fortran
con store there some extra metadata, no just the buffer pointer, but
also dimensions and some other runtime stuff.

Many, many, many thanks....


On 10/24/07, Pauli Virtanen <[EMAIL PROTECTED]> wrote:
>Using a hack like this, it's also possible to pass derived type
object >pointers,  "type(Typename), pointer", from the Python side to
the >Fortran side, as opaque handles.


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to