summaryrefslogtreecommitdiff
path: root/Lib/swigrun.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/swigrun.swg')
-rw-r--r--Lib/swigrun.swg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/swigrun.swg b/Lib/swigrun.swg
index e5afb62c4..b3c11c136 100644
--- a/Lib/swigrun.swg
+++ b/Lib/swigrun.swg
@@ -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