Merge trunk (up to just after swig 2.0.5 release - rev 13009) to gsoc2008-cherylfoil
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-cherylfoil@13017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
commit
af1c6ac3c3
1811 changed files with 94580 additions and 35569 deletions
26
Examples/test-suite/ruby_li_std_speed.i
Normal file
26
Examples/test-suite/ruby_li_std_speed.i
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/**
|
||||
* @file ruby_li_std_speed.i
|
||||
* @author gga
|
||||
* @date Fri May 18 18:03:15 2007
|
||||
*
|
||||
* @brief A speed test of the ruby stl
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
%module ruby_li_std_speed
|
||||
|
||||
%include <std_list.i>
|
||||
%include <std_vector.i>
|
||||
%include <std_deque.i>
|
||||
%include <std_set.i>
|
||||
|
||||
%template(RbList) std::list<swig::GC_VALUE>;
|
||||
%template(RbVector) std::vector<swig::GC_VALUE>;
|
||||
%template(RbDeque) std::deque<swig::GC_VALUE>;
|
||||
%template(RbSet) std::set<swig::GC_VALUE>;
|
||||
|
||||
%template(RbFloatList) std::list<float>;
|
||||
%template(RbFloatVector) std::vector<float>;
|
||||
%template(RbFloatDeque) std::deque<float>;
|
||||
%template(RbFloatSet) std::set<float>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue