Scilab: update STL set example

Fixes:
- use generic support of STL set
- add example for set of string
This commit is contained in:
Simon Marchetto 2013-07-17 16:59:00 +02:00
commit 1cf1e72e72
9 changed files with 131 additions and 75 deletions

View file

@ -0,0 +1,18 @@
/* File : example.i */
%module example
%{
#include "example.hxx"
%}
%include stl.i
/* instantiate the required template specializations */
namespace std
{
%template(IntSet) set<int>;
%template(StringSet) set<std::string>;
}
%include "example.hxx"