diff options
author | Michel Zou <xantares09@hotmail.com> | 2013-02-25 11:07:42 +0100 |
---|---|---|
committer | Michel Zou <xantares09@hotmail.com> | 2013-02-25 11:07:42 +0100 |
commit | c23b7606cf665ce1a4e0f666f6926282971d108f (patch) | |
tree | 228dde9842a1b408a9f32cb979c89fe8b85cd240 /Lib | |
parent | 7acf6b5fef128de8e9ded023870006b10b4a39a8 (diff) | |
download | swig-c23b7606cf665ce1a4e0f666f6926282971d108f.tar.gz |
MOdified only no-cast-rank version of SWIG_AddCast.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/swigrun.swg | 2 |
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 |