File: py-kdtree.i.tmpl

package info (click to toggle)
libkdtree%2B%2B 0.7.1%2Bgit20101123-5
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 812 kB
  • sloc: cpp: 2,064; sh: 623; python: 543; makefile: 113
file content (27 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (5)
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
/** \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%%