File size: 380 Bytes
985c397 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | /** \file
*
* Provides a Python interface for the libkdtree++.
*
* \author Willi Richert <w.richert@gmx.net>
*
*/
%module kdtree
%{
#define SWIG_FILE_WITH_INIT
#include "py-kdtree.hpp"
%}
%ignore record_t::operator[];
%ignore operator==;
%ignore operator<<;
%ignore KDTree::KDTree::operator=;
%ignore tac;
%%TMPL_BODY%%
%include "py-kdtree.hpp"
%%TMPL_PY_CLASS_DEF%%
|