[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-glpk] lib_set_print_hook disappeared
From: |
Roberto Bagnara |
Subject: |
Re: [Bug-glpk] lib_set_print_hook disappeared |
Date: |
Thu, 22 Mar 2007 00:05:15 +0300 |
Andrew Makhorin wrote:
>> This was available until at least version 4.13 but has now disappeared.
>> Why? Is there a way for an application to support both 4.13 and the
>> newer versions? The include file do not seem to define VERSION macros.
>> Many thanks in advance,
>
> Lib_set_print_hook is not an api routine -- it was introduced into the
> package to resolve a minute problem. Starting from 4.15 the backward
> compatibility is provided only for documented api routines.
>
> This routine is still available in 4.15 under the name
> _glp_lib_print_hook, however, in the next release it will be replaced
> by a documented api routine with similar functionality.
>
> Sorry for inconvenience.
Can you also add to the header file something that easily allows detecting
the version of GLPK? Something like the following would be OK:
/* The major number of the GLPK version. */
#define GLPK_VERSION_MAJOR 4
/* The minor number of the GLPK version. */
#define GLPK_VERSION_MINOR 15
/* The revision number of the GLPK version. */
#define GLPK_VERSION_REVISION 0
Many thanks in advance,
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:address@hidden