From 6832cf0ddaabb10fbe410b53819988835b22a8bb Mon Sep 17 00:00:00 2001 From: John Glover Date: Fri, 2 Sep 2011 13:31:42 +0100 Subject: move general functionality to base.i --- simpl/simplloris.i | 14 +------------- 1 file changed, 1 insertion(+), 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" -- cgit v1.2.3