* box2d.i: Here. Drop the namespace qualifier before the class name (see http://sourceforge.net/p/swig/bugs/1291/). --- swilena/ChangeLog | 8 ++++++++ swilena/box2d.i | 7 ++++--- 2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/swilena/ChangeLog b/swilena/ChangeLog index 8d72bf3..f92e739 100644 --- a/swilena/ChangeLog +++ b/swilena/ChangeLog @@ -1,3 +1,11 @@ +2013-04-09 Roland Levillain roland@lrde.epita.fr + + Help SWIG 2.0.9 wrap a ctor added as an extension. + + * box2d.i: Here. + Drop the namespace qualifier before the class name (see + http://sourceforge.net/p/swig/bugs/1291/). + 2012-08-28 Roland Levillain roland@lrde.epita.fr
Aesthetic changes in Swilena. diff --git a/swilena/box2d.i b/swilena/box2d.i index f13790e..11bf2c3 100644 --- a/swilena/box2d.i +++ b/swilena/box2d.i @@ -1,5 +1,6 @@ // -*- C++ -*- -// Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE) +// Copyright (C) 2008, 2009, 2013 EPITA Research and Development +// Laboratory (LRDE) // // This file is part of Olena. // @@ -42,8 +43,8 @@ %extend mln::box< mln::point<mln::grid::square, mln::def::coord> > { // Provide a ctor creating an `mln::box2d' from two `int's. - mln::box< mln::point<mln::grid::square, mln::def::coord> > (int nrows, - int ncols) + box< mln::point<mln::grid::square, mln::def::coord> > (int nrows, + int ncols) { return new mln::boxmln::point2d(nrows, ncols); }