swig/Examples/test-suite/ruby/li_std_functors.i
Gonzalo Garramuno 597f650d02 Added new speed test and minor cosmetic fixes to
other older tests.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-19 09:49:19 +00:00

18 lines
581 B
OpenEdge ABL

%module li_std_functors
%include <std_vector.i>
%include <std_deque.i>
%include <std_list.i>
%include <std_set.i>
%include <std_map.i>
%include <std_functors.i>
%template(Vector ) std::vector <swig::LANGUAGE_OBJ>;
%template(Deque ) std::deque <swig::LANGUAGE_OBJ>;
%template(List ) std::list <swig::LANGUAGE_OBJ>;
%template(Set ) std::set <swig::LANGUAGE_OBJ,
swig::BinaryPredicate<> >;
%template(Map ) std::map <swig::LANGUAGE_OBJ,swig::LANGUAGE_OBJ,
swig::BinaryPredicate<> >;