Skip to content

Commit

Permalink
add std::set<std::string> typemap to SWIG interfaces
Browse files Browse the repository at this point in the history
this allows to extract the parameter names with parameter_names
from the SWIG interface
  • Loading branch information
vigsterkr committed Jan 29, 2018
1 parent 62677bb commit 3cc0e37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/interfaces/swig/SGBase.i
Expand Up @@ -320,6 +320,11 @@ namespace std {
}
#endif

%include "std_set.i"
namespace std {
%template(StringSet) set<string>;
}

#ifndef SWIGR
%include <shogun/base/init.h>
#endif
Expand Down

0 comments on commit 3cc0e37

Please sign in to comment.