help-glpk
[Top][All Lists]
Advanced

[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: Fri, 6 Feb 2009 20:04:21 +0300

Dear Xypron,

> ¿ 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 ?

It is necessary to replace %array_functions by %array_class
(otherwise, the intArray and doubleArray symbols would be multiply
defined).

Please check that %array_class has the behaviour you expect in the
java interface...

Thanks,

Pedro







reply via email to

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