Merge pull request #29 from xantares/master
Fix clang warning due to SWIG_AddCast macro (SF#1300).
This commit is contained in:
commit
df2388a459
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ SWIGINTERNINLINE int SWIG_CheckState(int r) {
|
||||||
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
|
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
|
||||||
}
|
}
|
||||||
#else /* no cast-rank mode */
|
#else /* no cast-rank mode */
|
||||||
# define SWIG_AddCast
|
# define SWIG_AddCast(r) (r)
|
||||||
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
|
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue