MOdified only no-cast-rank version of SWIG_AddCast.

This commit is contained in:
Michel Zou 2013-02-25 11:07:42 +01:00
commit c23b7606cf

View file

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