diff options
Diffstat (limited to 'PySide/QtGui/typesystem_gui_win.xml')
-rw-r--r-- | PySide/QtGui/typesystem_gui_win.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/PySide/QtGui/typesystem_gui_win.xml b/PySide/QtGui/typesystem_gui_win.xml index 28b48e6f8..5f4c57657 100644 --- a/PySide/QtGui/typesystem_gui_win.xml +++ b/PySide/QtGui/typesystem_gui_win.xml @@ -30,7 +30,10 @@ #endif </native-to-target> <target-to-native> - <add-conversion type="checkPyCapsuleOrPyCObject"> + <add-conversion type="PyNone"> + %out = 0; + </add-conversion> + <add-conversion check="checkPyCapsuleOrPyCObject(%in)" type="PyObject"> #ifdef IS_PY3K %out = (%OUTTYPE)PyCapsule_GetPointer(%in, 0); #else |