/tags/rel-1-3-26/SWIG/Examples/test-suite/template_type_namespace.i
Swig | 14 lines | 10 code | 4 blank | 0 comment | 0 complexity | c980d01178fcbf128d5300a4f057f65a MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1%module template_type_namespace 2 3%warnfilter(801) std::vector<std::string>; // Ruby, wrong class name 4 5%include std_string.i 6%include std_vector.i 7 8%template(string_vector) std::vector<std::string>; 9 10%inline %{ 11 std::vector<std::string> foo() { 12 return std::vector<std::string>(1,"foo"); 13 } 14%}