[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: xypron
Subject: Re: [Help-glpk] Patch for GLPK 4.35 to support SWIG
Date: Thu, 5 Feb 2009 12:33:34 -0800 (PST)

Dear Pedro,

>> 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.

¿ Is it necessary to remove
%array_functions(int, intArray)
%array_functions(double, doubleArray)
to get Python working,
or is it sufficient to add
%array_class(int, intArray);
%array_class(double, doubleArray); 
to swig/glpk.i ?

Best regards


View this message in context:
Sent from the Gnu - GLPK - Help mailing list archive at

reply via email to

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