Merge pull request #29 from xantares/master

Fix clang warning due to SWIG_AddCast macro (SF#1300).
This commit is contained in:
Olly Betts 2013-03-03 11:02:14 -08:00
commit df2388a459

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)
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
#endif