Add back in all the deque methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
008ef5df5a
commit
fb4ad0b18d
1 changed files with 8 additions and 6 deletions
|
|
@ -115,15 +115,17 @@
|
||||||
|
|
||||||
#ifdef SWIGPHP
|
#ifdef SWIGPHP
|
||||||
%define %std_deque_methods(T)
|
%define %std_deque_methods(T)
|
||||||
%extend {
|
%extend {
|
||||||
bool is_empty() const {
|
bool is_empty() const {
|
||||||
return self->empty();
|
return self->empty();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
%std_deque_methods_noempty(T)
|
||||||
%enddef
|
%enddef
|
||||||
#else
|
#else
|
||||||
%define %std_deque_methods(T)
|
%define %std_deque_methods(T)
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
%std_deque_methods_noempty(T)
|
||||||
%enddef
|
%enddef
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue