From 7afd2f554bbdbb183b1b940483cc905d4e962b4f Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 27 Oct 2004 01:59:20 +0000 Subject: [PATCH] fix SWIGENUM -> enum SWIGTYPE, as is used now git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Source/CParse/templ.c | 2 +- SWIG/Source/Swig/stype.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SWIG/Source/CParse/templ.c b/SWIG/Source/CParse/templ.c index 4bb63fa70..c239874b8 100644 --- a/SWIG/Source/CParse/templ.c +++ b/SWIG/Source/CParse/templ.c @@ -508,8 +508,8 @@ template_locate(String *name, Parm *tparms) { if (t) { String *tbase = SwigType_base(t); t = SwigType_default(t); + Replaceid(t,"enum SWIGTYPE",tbase); Replaceid(t,"SWIGTYPE",tbase); - Replaceid(t,"SWIGENUM",tbase); Printf(rname,"%s",t); Delete(t); } else { diff --git a/SWIG/Source/Swig/stype.c b/SWIG/Source/Swig/stype.c index 77dd6aa5d..438613512 100644 --- a/SWIG/Source/Swig/stype.c +++ b/SWIG/Source/Swig/stype.c @@ -279,7 +279,7 @@ int SwigType_issimple(SwigType *t) { * Arrays: a().SWIGTYPE * Types: SWIGTYPE * MemberPointer: m(CLASS).SWIGTYPE - * Enums: enum SWIGENUM + * Enums: enum SWIGTYPE * * Note: if this function is applied to a primitive type, it returns NULL. This * allows recursive application for special types like arrays.