MOdified only no-cast-rank version of SWIG_AddCast.
This commit is contained in:
parent
7acf6b5fef
commit
c23b7606cf
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ SWIGINTERNINLINE int SWIG_CheckState(int r) {
|
|||
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
|
||||
}
|
||||
#else /* no cast-rank mode */
|
||||
# define SWIG_AddCast
|
||||
# define SWIG_AddCast(r) ((r)+0)
|
||||
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue