summaryrefslogtreecommitdiff
path: root/Lib/python/pyuserdir.swg
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2005-12-31 10:43:59 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2005-12-31 10:43:59 +0000
commitdd6954ba6dde9b01c042e3e07066d645e5c10b6a (patch)
treefe33fd0cc6fcf4c208d12ba08c55645cb74c3fe8 /Lib/python/pyuserdir.swg
parentf3262ed3d9c90e72a251ef2d07795e69a04a53b3 (diff)
downloadswig-dd6954ba6dde9b01c042e3e07066d645e5c10b6a.tar.gz
add %kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Lib/python/pyuserdir.swg')
-rw-r--r--Lib/python/pyuserdir.swg11
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/python/pyuserdir.swg b/Lib/python/pyuserdir.swg
index 2c785c70b..0e983fb7b 100644
--- a/Lib/python/pyuserdir.swg
+++ b/Lib/python/pyuserdir.swg
@@ -158,3 +158,14 @@ These methods "may be called" if needed.
#define %implicitconv %feature("implicitconv")
#define %noimplicitconv %feature("implicitconv", "0")
#define %clearimplicitconv %feature("implicitconv", "")
+
+
+/* ------------------------------------------------------------------------- */
+/*
+ Enable keywords paramaters
+*/
+
+#define %kwargs %feature("kwargs")
+#define %nokwargs %feature("kwargs", "0")
+#define %clearkwargs %feature("kwargs", "")
+