Modify fix for << in array size

The previous fix broke testcase arrays for Go.
This commit is contained in:
Olly Betts 2022-07-27 12:25:27 +12:00
commit 0ff9a0959a
3 changed files with 11 additions and 4 deletions

View file

@ -121,3 +121,8 @@
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif
/* We replace `<<` with `SWIG_LSHIFT` in constant expressions to avoid
* confusing SWIG's type system into thinking there's a template.
*/
#define SWIG_LSHIFT <<