1 /* -----------------------------------------------------------------------------
2 * See the LICENSE file for information on copyright, usage and redistribution
3 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
7 * Default std_deque wrapper
8 * ----------------------------------------------------------------------------- */
12 %rename(__getitem__) std::deque::getitem;
13 %rename(__setitem__) std::deque::setitem;
14 %rename(__delitem__) std::deque::delitem;
15 %rename(__getslice__) std::deque::getslice;
16 %rename(__setslice__) std::deque::setslice;
17 %rename(__delslice__) std::deque::delslice;
21 return (int) self->size();
24 return ! self->empty();
26 void append(const T &x) {
31 %include <std/_std_deque.i>