diff --git a/SWIG/Lib/swig.swg b/SWIG/Lib/swig.swg index c94d6d346..a69e54621 100644 --- a/SWIG/Lib/swig.swg +++ b/SWIG/Lib/swig.swg @@ -71,6 +71,10 @@ /* Warnings */ #define %warnfilter(...) %feature("warnfilter",`__VA_ARGS__`) +/* Contract support - Experimental and undocumented */ + +#define %contract %feature("contract") + /* Default handling of certain overloaded operators */ #ifdef __cplusplus