From 67b82a4091c1b5ca77432b035a1deced5b58fd8c Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Fri, 11 Apr 2003 16:45:06 +0000 Subject: [PATCH] Added %contract directive. (Experimental) git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4679 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/swig.swg | 4 ++++ 1 file changed, 4 insertions(+) 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