bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] GLPK 4.59: missing symbols in def file


From: Andrew Makhorin
Subject: Re: [Bug-glpk] GLPK 4.59: missing symbols in def file
Date: Sun, 27 Mar 2016 22:54:36 +0300

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





reply via email to

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