Commit c2f9c9a9 authored by Roland Levillain's avatar Roland Levillain
Browse files

Improve Swilena's max-tree.py output.

	* println.ixx: Include std_string.i to help SWIG wrap
	mln::debug::println(const std::string&, const Image<I>&) and use
	it...
	* python/max-tree.py: ...here.
parent 63d66e39
2014-05-23 Roland Levillain <roland@lrde.epita.fr>
Improve Swilena's max-tree.py output.
* println.ixx: Include std_string.i to help SWIG wrap
mln::debug::println(const std::string&, const Image<I>&) and use
it...
* python/max-tree.py: ...here.
2014-05-23 Roland Levillain <roland@lrde.epita.fr>
Make Swilena's max-tree.py test fully work with SWIG 2.0.7.
......
// -*- C++ -*-
// Copyright (C) 2008 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2008, 2014 EPITA Research and Development Laboratory (LRDE).
//
// This file is part of Olena.
//
......@@ -27,6 +27,10 @@
/// \file println.ixx
/// \brief A wrapper of mln::debug::println.
%module println
%include std_string.i
%{
#include "mln/debug/println.hh"
%}
......
......@@ -40,10 +40,4 @@ image.println("ima =", ima)
max_tree_parent = image.max_tree(ima, c4())
# FIXME: Overloading issue: Why can't we use
#
# image2d_point2d.println("max_tree_parent =", max_tree_parent)
#
# ?
## 2013-04-09: Disabled, until a solution is found.
par_image.println(max_tree_parent)
par_image.println("max_tree_parent =", max_tree_parent)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment