summaryrefslogtreecommitdiff
path: root/swig/zypp.i
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-11-09 11:13:45 +0100
committerKlaus Kämpf <kkaempf@suse.de>2010-11-09 11:13:45 +0100
commitf0725a70704d10288513b9459447c61d066eec76 (patch)
treec1aee94571cad19189dfc7a51b400d599ae40cf0 /swig/zypp.i
parent9a85c7fdd1152642136c9f680a9f3811c35dfe00 (diff)
downloadlibzypp-bindings-f0725a70704d10288513b9459447c61d066eec76.tar.gz
libzypp-bindings-f0725a70704d10288513b9459447c61d066eec76.tar.bz2
libzypp-bindings-f0725a70704d10288513b9459447c61d066eec76.zip
Fix Target_Null for Python, drop Target_Void
Diffstat (limited to 'swig/zypp.i')
-rw-r--r--swig/zypp.i5
1 files changed, 1 insertions, 4 deletions
diff --git a/swig/zypp.i b/swig/zypp.i
index 8f5a985..bafb261 100644
--- a/swig/zypp.i
+++ b/swig/zypp.i
@@ -31,8 +31,7 @@
#define Target_DECREF(x) Py_DECREF(x)
#define Target_True Py_True
#define Target_False Py_False
-#define Target_Null NULL
-#define Target_Void Py_None
+#define Target_Null Py_None
#define Target_Type PyObject*
#define Target_Bool(x) PyBool_FromLong(x)
#define Target_WChar(x) PyInt_FromLong(x)
@@ -57,7 +56,6 @@
#define Target_True Qtrue
#define Target_False Qfalse
#define Target_Null Qnil
-#define Target_Void Qnil
#define Target_Type VALUE
#define Target_Bool(x) ((x)?Qtrue:Qfalse)
#define Target_WChar(x) INT2FIX(x)
@@ -92,7 +90,6 @@ SWIGINTERNINLINE SV *SWIG_From_double SWIG_PERL_DECL_ARGS_1(double value);
#define Target_True (&PL_sv_yes)
#define Target_False (&PL_sv_no)
#define Target_Null NULL
-#define Target_Void NULL
#define Target_Type SV *
#define Target_Bool(x) (x)?Target_True:Target_False
#define Target_WChar(x) NULL