summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-10-24 16:47:19 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-12-09 19:25:36 -0300
commit0b3b94dbe3c9fdac00fedaa6acd39b3cf70615a6 (patch)
treebdf12243eced8cff1c28831341e812d5606c5cb5
parentf2c78ea48dabdb086eac1e693266b2ea7b86a846 (diff)
downloadpyside-0b3b94dbe3c9fdac00fedaa6acd39b3cf70615a6.tar.gz
pyside-0b3b94dbe3c9fdac00fedaa6acd39b3cf70615a6.tar.xz
pyside-0b3b94dbe3c9fdac00fedaa6acd39b3cf70615a6.zip
Fixes type converter for Win32's HWND.
-rw-r--r--PySide/QtCore/typesystem_core_win.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtCore/typesystem_core_win.xml b/PySide/QtCore/typesystem_core_win.xml
index ca59c89..9982282 100644
--- a/PySide/QtCore/typesystem_core_win.xml
+++ b/PySide/QtCore/typesystem_core_win.xml
@@ -26,7 +26,7 @@
</native-to-target>
<target-to-native>
<add-conversion type="PyCObject">
- %out = (%OUTTYPE*)PyCObject_AsVoidPtr(%in);
+ %out = *((%OUTTYPE*)PyCObject_AsVoidPtr(%in));
</add-conversion>
</target-to-native>
</conversion-rule>