Skip to content
Snippets Groups Projects
Commit 4da366b1 authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

(swig) some fixes

parent 571915a6
Branches
No related merge requests found
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
%include "libcorpus/libcorpusannotatedsentence.i" %include "libcorpus/libcorpusannotatedsentence.i"
%include "std_string.i" %include "std_string.i"
%include "boost_shared_ptr.i" // %include "boost_shared_ptr.i"
%feature("notabstract") Wccl::Match; %feature("notabstract") Wccl::Match;
%template (MatchPtr) boost::shared_ptr<Wccl::Match>; // %template (MatchPtr) boost::shared_ptr<Wccl::Match>;
namespace Wccl { namespace Wccl {
class Match : public Value { class Match : public Value {
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
#include <libwccl/values/matchdata.h> #include <libwccl/values/matchdata.h>
%} %}
%include "libcclmatch.i" %include "libcclmatch.i"
%include "libcorpus/libcorpusannotatedsentence.i" %include "libcorpus/libcorpusannotatedsentence.i"
......
...@@ -23,6 +23,13 @@ ...@@ -23,6 +23,13 @@
%template(TSetPtr) boost::shared_ptr<Wccl::TSet>; %template(TSetPtr) boost::shared_ptr<Wccl::TSet>;
%template(MatchPtr) boost::shared_ptr<Wccl::Match>; %template(MatchPtr) boost::shared_ptr<Wccl::Match>;
%template(VariablesPtr) boost::shared_ptr<Wccl::Variables>; %template(VariablesPtr) boost::shared_ptr<Wccl::Variables>;
%template(ConstValuePtr) boost::shared_ptr<Wccl::Value const>;
%template(ConstBoolPtr) boost::shared_ptr<Wccl::Bool const>;
%template(ConstPositionPtr) boost::shared_ptr<Wccl::Position const>;
%template(ConstStrSetPtr) boost::shared_ptr<Wccl::StrSet const>;
%template(ConstTSetPtr) boost::shared_ptr<Wccl::TSet const>;
%template(ConstMatchPtr) boost::shared_ptr<Wccl::Match const>;
%template(ConstVariablesPtr) boost::shared_ptr<Wccl::Variables const>;
namespace Wccl { namespace Wccl {
/* ----------------------------------------------------------------------- */ /* ----------------------------------------------------------------------- */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment