diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-12-09 16:02:16 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:56:20 -0300 |
commit | 6575ac8d39281c1694238fe5341311b27bf24924 (patch) | |
tree | f13cbc31d303377248d278ed2ffc586021031627 | |
parent | 1af53541bf90b74c350d83507932fd694a5c0283 (diff) |
Fixed converter for win32's WId type.
-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 28b48e6f..5f4c5765 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 |