diff options
author | Michel Zou <xantares09@hotmail.com> | 2013-02-26 09:26:13 +0100 |
---|---|---|
committer | Michel Zou <xantares09@hotmail.com> | 2013-02-26 09:26:13 +0100 |
commit | 8155e145799728eba648f63a5e3da6ab513ed63b (patch) | |
tree | 6909566055928ebe224c8ea635ece3e1b2915dc4 /Lib/swigrun.swg | |
parent | c23b7606cf665ce1a4e0f666f6926282971d108f (diff) | |
download | swig-8155e145799728eba648f63a5e3da6ab513ed63b.tar.gz |
Macro expansion to self assign is effectively ignored.
Diffstat (limited to 'Lib/swigrun.swg')
-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 b3c11c136..999c87333 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(r) ((r)+0) +# define SWIG_AddCast(r) (r) # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) #endif |