1 2 3 4 5 6 7
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) std::basic_string<char>; AUTODOC(substr, "Return a portion of the String"); %include <typemaps/std_string.swg>