
* swig/mln.i: Call dyn::mln::initialize in %init section. --- dynamic-use-of-static-c++/ChangeLog | 6 ++++++ dynamic-use-of-static-c++/swig/mln.i | 6 ++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/dynamic-use-of-static-c++/ChangeLog b/dynamic-use-of-static-c++/ChangeLog index dfbb444..9de4a05 100644 --- a/dynamic-use-of-static-c++/ChangeLog +++ b/dynamic-use-of-static-c++/ChangeLog @@ -1,5 +1,11 @@ 2009-11-03 Roland Levillain <roland@lrde.epita.fr> + Adjust the initialization of the SWIG Python Milena wrappers. + + * swig/mln.i: Call dyn::mln::initialize in %init section. + +2009-11-03 Roland Levillain <roland@lrde.epita.fr> + Make the initialization of Milena wrappers deterministic. * src/wrappers/milena.cc (dyn::mln::init_type): Remove class. diff --git a/dynamic-use-of-static-c++/swig/mln.i b/dynamic-use-of-static-c++/swig/mln.i index e5598ab..dcfe644 100644 --- a/dynamic-use-of-static-c++/swig/mln.i +++ b/dynamic-use-of-static-c++/swig/mln.i @@ -37,3 +37,9 @@ %} %include "wrappers/milena.hh" + +%init +%{ + // Set up header paths. + dyn::mln::initialize(); +%} -- 1.6.5