help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] GLPK 4.48: definition of glp_tree


From: Heinrich Schuchardt
Subject: [Help-glpk] GLPK 4.48: definition of glp_tree
Date: Thu, 24 Jan 2013 23:00:34 +0100

Hello Andrew,

in GLPK 4.48 you plan to replace

typedef struct { double _opaque_tree[100]; } glp_tree;

by the new definition

typedef struct glp_tree glp_tree

Some wrappers for GLPK like Rglpk (for Ruby), GLPK for Java, and Python-GLPK 
use Swig for generating the wrapping code.

Now Swig will no longer create a class glp_tree but only a class 
SWIGTYPE_p_glp_tree.

This implies programmers using GLPK with Python, Java, or Ruby and said 
wrappers may have to change their code.

I must admit that the new definition looks neater in C. Due to the impact in 
other languages I would be very happy if you could revert it to ensure 
backwards compatibility for non C users of GLPK.

Best regards

Heinrich Schuchardt



reply via email to

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