Heinrich,

> building GLPK for Java, GLPK for C#/CLI, and many other packages use
> Swig to create language bindings for GLPK.
> 
> This requires that ALL functions exposed in glpk.h are also mentioned
> in the def files used for compiling on Windows. In GLPK 4.59 you
> forgot:
> 
> glp_gmi_cut
> glp_gmi_gen
> glp_mir_init
> glp_mir_gen
> glp_mir_free
> glp_cfg_init
> glp_cfg_free
> glp_clq_cut
> 

Will it work if the declarations of these functions will be hidden as
follows?

#ifdef GLP_UNDOC
int glp_mip_cut(...
. . .
#endif

The idea is to make declarations of non-documented GLPK API routines to
be unavailable by default, until GLP_UNDOC is explicitly defined before
#include <glpk.h>.


Best regards,

Andrew Makhorin



_______________________________________________
Bug-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to