dwww Home | Show directory contents | Find package

%module template_type_namespace

%warnfilter(SWIGWARN_RUBY_WRONG_NAME) std::vector<std::string>; // Ruby, wrong class name

%include std_string.i
%include std_vector.i
 
%template(string_vector) std::vector<std::string>;
 
%inline %{
     std::vector<std::string> foo() {
         return std::vector<std::string>(1,"foo");
     }
%}                                                  

Generated by dwww version 1.15 on Tue Jul 2 00:11:17 CEST 2024.