Use SWIG_GE, SWIG_LE, etc instead of >=, <= since the latter cause

problems when used as template parameters.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2006-09-26 07:52:24 +00:00
commit cf52954bbb
3 changed files with 17 additions and 5 deletions

View file

@ -94,3 +94,11 @@
#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
# define _CRT_SECURE_NO_DEPRECATE
#endif
/* Putting > and < into constant expressions causes problems with code which
* tries to parse template types, so we use SWIG_GT, etc instead until such
* code gets enhanced. */
#define SWIG_GT >
#define SWIG_LT <
#define SWIG_GE >=
#define SWIG_LE <=