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

Xypron

-- 
View this message in context: 
http://www.nabble.com/Patch-for-GLPK-4.35-to-support-SWIG-tp21732549p21860536.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.



_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to