Functions with enumerated default arguments bad

After digging around the SWIG issues database I found a feature
compactdefaultargs that creates a call to functions with default
arguments like it did before.  The important part is that the
code runs.

refs #176
This commit is contained in:
Alex Lin 2016-02-04 15:54:12 -06:00
parent f4950b736b
commit c6614fff75

View File

@ -10,6 +10,12 @@
%include "trick_swig/cast_as.i"
%include "trick_swig/swig_int_typemap.i"
/*
compactdefaultargs fixes a bug with enumeration default arguments not being
recogized in function calls starting in swig 3.0.x
*/
%feature("compactdefaultargs") ;
/* SWIG can't understand GNU C keyword "__attribute__" */
#ifdef SWIG
#define __attribute__(x)