[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Patch for GLPK 4.35 to support SWIG

From: Joao Pedro Pedroso
Subject: Re: [Help-glpk] Patch for GLPK 4.35 to support SWIG
Date: Thu, 5 Feb 2009 17:43:52 +0300

Dear Xypron,

I am maintaining a glpk interface for python, and was on the course of
updating it when you sent a proposal for a swig wrapper to be included
in the glpk distribution; nice surprise!

I was using the commands

%include "carrays.i"
%array_class(int, intArray);
%array_class(double, doubleArray);

for the intercommunication of C arrays; your file is slightly
different (you are using %array_functions instead of %array_class).

In case %array_class works in the languages you are interested in, may
I suggest to use it?  

In Python %array_functions do not seem to work.

Thank you,

Joao Pedro Pedroso                     address@hidden
Faculdade de  Ciencias  da  Universidade  do  Porto
Departamento    de    Ciencia    de    Computadores
R. Campo Alegre 1021-1055, 4169-007 Porto, Portugal
Tel: (+351)220.402.919       Fax: (+351)220.402.950

reply via email to

[Prev in Thread] Current Thread [Next in Thread]