Fixed weird enum type-handling problem (maybe).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
186edaaae4
commit
cc0d9475bf
1 changed files with 1 additions and 1 deletions
|
|
@ -1284,7 +1284,7 @@ int SwigType_type(SwigType *t)
|
|||
if (strcmp(c,"double") == 0) return T_DOUBLE;
|
||||
if (strcmp(c,"void") == 0) return T_VOID;
|
||||
if (strcmp(c,"bool") == 0) return T_BOOL;
|
||||
|
||||
if (strncmp(c,"enum ",5) == 0) return T_INT;
|
||||
/* Hmmm. Unknown type */
|
||||
if (SwigType_istypedef(t)) {
|
||||
int r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue