blob: ec94cd04d8fd8f663576ed844a43f0dea2c2ec34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%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");
}
%}
|