summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Glover <glover.john@gmail.com>2011-09-02 13:31:42 +0100
committerJohn Glover <glover.john@gmail.com>2011-09-02 13:31:42 +0100
commit6832cf0ddaabb10fbe410b53819988835b22a8bb (patch)
tree53849495bb4522b778b29d48d84c8b429f2cf7c4
parent5faf04f32f7735b21f261d18cf32f9079cf1456a (diff)
downloadsimpl-6832cf0ddaabb10fbe410b53819988835b22a8bb.tar.gz
simpl-6832cf0ddaabb10fbe410b53819988835b22a8bb.tar.bz2
simpl-6832cf0ddaabb10fbe410b53819988835b22a8bb.zip
move general functionality to base.i
-rw-r--r--simpl/simplloris.i14
1 files changed, 1 insertions, 13 deletions
diff --git a/simpl/simplloris.i b/simpl/simplloris.i
index e1f11d7..1137b62 100644
--- a/simpl/simplloris.i
+++ b/simpl/simplloris.i
@@ -1,20 +1,8 @@
%module(directors="1") simplloris
%{
- #include "../src/simpl/base.h"
- #include "../src/simpl/exceptions.h"
#include "../src/simpl/simplloris.h"
- #define SWIG_FILE_WITH_INIT
%}
-
-%include "common.i"
+%include "base.i"
%feature("director") Simpl::LorisPeakDetection;
-
-%init
-%{
- import_array();
-%}
-
-%include "../src/simpl/base.h"
-%include "../src/simpl/exceptions.h"
%include "../src/simpl/simplloris.h"