normalizing the inout typemaps and other cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
61a83837cd
commit
7afe6bc139
28 changed files with 978 additions and 633 deletions
|
|
@ -134,19 +134,13 @@ namespace std {
|
|||
%pysequence_methods_val(std::deque<T* >);
|
||||
};
|
||||
|
||||
// Add the order operations <,>,<=,=> as needed
|
||||
|
||||
%define %std_order_deque(T)
|
||||
%std_comp_methods(deque<T>);
|
||||
%enddef
|
||||
|
||||
%apply_otypes(%std_order_deque);
|
||||
}
|
||||
|
||||
|
||||
%define %std_deque_ptypen(...)
|
||||
%template() std::deque<__VA_ARGS__ >;
|
||||
%std_extcomp(deque, __VA_ARGS__);
|
||||
%std_definst(deque, __VA_ARGS__);
|
||||
%enddef
|
||||
|
||||
#if defined(SWIG_STD_EXTEND_COMPARISON) || defined(SWIG_STD_DEFAULT_INSTANTIATION)
|
||||
%apply_cpptypes(%std_deque_ptypen);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue