From 1bd30b0ed85cfc48f3997d1e3965781490a559c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <Pawel.Kedzia@pwr.wroc.pl>
Date: Tue, 10 May 2011 10:29:40 +0200
Subject: [PATCH] (swig) Updated wrapper for Wccl::AnnotationMatch

---
 swig/libcclannotationmatch.i | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/swig/libcclannotationmatch.i b/swig/libcclannotationmatch.i
index 791be9f..7a2c917 100644
--- a/swig/libcclannotationmatch.i
+++ b/swig/libcclannotationmatch.i
@@ -6,32 +6,32 @@
   #include <libwccl/values/annotationmatch.h>
 %}
 
-%include "std_string.i"
-%include "libcclposition.i"
 %include "libcclmatchdata.i"
 %include "libcorpus/libcorpusannotatedsentence.i"
 
+%include "std_string.i"
+
 %nodefaultctor Wccl::AnnotationMatch;
 
 namespace Wccl {
   class AnnotationMatch : public MatchData {
   public:
-    explicit AnnotationMatch(Position position, const std::string channel);
     explicit AnnotationMatch(int pos, const std::string channel);
 
     /* --------------------------------------------------------------------- */
     bool empty() const;
 
     /* --------------------------------------------------------------------- */
-    Position first_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
-    Position last_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
+    int first_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
+    int last_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
 
     /* --------------------------------------------------------------------- */
     std::string to_raw_string() const;
   };
 }
 
-using namespace std;
+using namespace boost;
 using namespace Wccl;
+using namespace std;
 
 #endif /* SWIG_LIBWCCL_ANNOTATIONMATCH_I */
-- 
GitLab