From fb4ad0b18de593f6b12546da3c98b7d16ceac287 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 15 Dec 2009 07:04:32 +0000 Subject: [PATCH] Add back in all the deque methods git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11783 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/std/_std_deque.i | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Lib/std/_std_deque.i b/Lib/std/_std_deque.i index 9b2908cec..3d68c385f 100644 --- a/Lib/std/_std_deque.i +++ b/Lib/std/_std_deque.i @@ -115,15 +115,17 @@ #ifdef SWIGPHP %define %std_deque_methods(T) - %extend { - bool is_empty() const { - return self->empty(); - } - }; + %extend { + bool is_empty() const { + return self->empty(); + } + }; + %std_deque_methods_noempty(T) %enddef #else %define %std_deque_methods(T) - bool empty() const; + bool empty() const; + %std_deque_methods_noempty(T) %enddef #endif