fix SWIGENUM -> enum SWIGTYPE, as is used now

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-10-27 01:59:20 +00:00
commit b88bb27850
2 changed files with 2 additions and 2 deletions

View file

@ -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 {

View file

@ -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.