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:
parent
cf7b11c3fd
commit
b88bb27850
2 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue