aboutsummaryrefslogtreecommitdiff
path: root/Lib/swig.swg
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2006-07-04 21:00:55 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2006-07-04 21:00:55 +0000
commit32abf157f7c8402595bf9d6f9010939f742d175c (patch)
tree62c31931f2211f8b386d8f94371b9c60c3ae9cf1 /Lib/swig.swg
parent37005baff57d236e2a5be298072330f5b51ea4ff (diff)
downloadswig-32abf157f7c8402595bf9d6f9010939f742d175c.tar.gz
new explicitcall feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swig.swg')
-rw-r--r--Lib/swig.swg9
1 files changed, 8 insertions, 1 deletions
diff --git a/Lib/swig.swg b/Lib/swig.swg
index 0bdfdf4a4..a9facd266 100644
--- a/Lib/swig.swg
+++ b/Lib/swig.swg
@@ -159,7 +159,14 @@
#define %clearnovaluewrapper %feature("novaluewrapper","")
/* Contract support - Experimental and undocumented */
-#define %contract %feature("contract")
+#define %contract %feature("contract")
+#define %nocontract %feature("contract","0")
+#define %clearcontract %feature("contract","")
+
+/* explicitcall directives */
+#define %explicitcall %feature("explicitcall")
+#define %noexplicitcall %feature("explicitcall","0")
+#define %clearexplicitcall %feature("explicitcall","")
/* Macro for setting a dynamic cast function */
%define DYNAMIC_CAST(mangle,func)