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

(swig) Wccl::Variables fixed

parent 76e9ee55
Branches
No related merge requests found
......@@ -16,6 +16,14 @@
%include "std_string.i"
%include "boost_shared_ptr.i"
%template(ValuePtr) boost::shared_ptr<Wccl::Value>;
%template(BoolPtr) boost::shared_ptr<Wccl::Bool>;
%template(PositionPtr) boost::shared_ptr<Wccl::Position>;
%template(StrSetPtr) boost::shared_ptr<Wccl::StrSet>;
%template(TSetPtr) boost::shared_ptr<Wccl::TSet>;
%template(MatchPtr) boost::shared_ptr<Wccl::Match>;
%template(VariablesPtr) boost::shared_ptr<Wccl::Variables>;
namespace Wccl {
/* ----------------------------------------------------------------------- */
/* Helper detail class */
......@@ -48,13 +56,13 @@ namespace Wccl {
/* ----------------------------------------------------------------------- */
/* Variables */
class Variables :
class Variables /*:
detail::Vmap<Value>,
detail::Vmap<Bool>,
detail::Vmap<Position>,
detail::Vmap<StrSet>,
detail::Vmap<TSet>,
detail::Vmap<Match>
detail::Vmap<Match> */
{
public:
Variables();
......@@ -153,8 +161,6 @@ namespace Wccl {
};
}
%template(VariablesSharedPtr) boost::shared_ptr<Wccl::Variables>;
using namespace boost;
using namespace std;
using 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