summaryrefslogtreecommitdiff
path: root/Lib/swigrun.swg
diff options
context:
space:
mode:
authorMichel Zou <xantares09@hotmail.com>2013-02-25 11:07:42 +0100
committerMichel Zou <xantares09@hotmail.com>2013-02-25 11:07:42 +0100
commitc23b7606cf665ce1a4e0f666f6926282971d108f (patch)
tree228dde9842a1b408a9f32cb979c89fe8b85cd240 /Lib/swigrun.swg
parent7acf6b5fef128de8e9ded023870006b10b4a39a8 (diff)
downloadswig-c23b7606cf665ce1a4e0f666f6926282971d108f.tar.gz
MOdified only no-cast-rank version of SWIG_AddCast.
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