From 3cc0e3740c5de1e0f31aebbb427615d8ef0e4d07 Mon Sep 17 00:00:00 2001 From: Viktor Gal Date: Mon, 29 Jan 2018 20:09:33 +0100 Subject: [PATCH] add std::set typemap to SWIG interfaces this allows to extract the parameter names with parameter_names from the SWIG interface --- src/interfaces/swig/SGBase.i | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/interfaces/swig/SGBase.i b/src/interfaces/swig/SGBase.i index 5491bb02d32..60b31a3f65f 100644 --- a/src/interfaces/swig/SGBase.i +++ b/src/interfaces/swig/SGBase.i @@ -320,6 +320,11 @@ namespace std { } #endif +%include "std_set.i" +namespace std { + %template(StringSet) set; +} + #ifndef SWIGR %include #endif