summaryrefslogtreecommitdiff
path: root/Lib/swig.swg
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2010-03-06 19:11:32 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2010-03-06 19:11:32 +0000
commitb6b99bb1486d9709378bd37333c4c930affe5ad3 (patch)
tree7181e4cd4ab7d3a290f7a9e65528d1a27f17e995 /Lib/swig.swg
parent51d433ee0ab0f677bbf20b4321369b82e3c91f02 (diff)
downloadswig-b6b99bb1486d9709378bd37333c4c930affe5ad3.tar.gz
Add nspace feature for C# and add documentation on nspace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/swig.swg')
-rw-r--r--Lib/swig.swg5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/swig.swg b/Lib/swig.swg
index af7fa6a30..ec903533c 100644
--- a/Lib/swig.swg
+++ b/Lib/swig.swg
@@ -156,6 +156,11 @@
#define %nonaturalvar %feature("naturalvar","0")
#define %clearnaturalvar %feature("naturalvar","")
+/* nspace directives */
+#define %nspace %feature("nspace")
+#define %nonspace %feature("nspace","0")
+#define %clearnspace %feature("nspace","")
+
/* valuewrapper directives */
#define %valuewrapper %feature("valuewrapper")
#define %clearvaluewrapper %feature("valuewrapper","")