aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore/typesystem_core_win.xml
diff options
context:
space:
mode:
Diffstat (limited to 'PySide/QtCore/typesystem_core_win.xml')
-rw-r--r--PySide/QtCore/typesystem_core_win.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core_win.xml b/PySide/QtCore/typesystem_core_win.xml
index a9663c9b8..f4b8cab24 100644
--- a/PySide/QtCore/typesystem_core_win.xml
+++ b/PySide/QtCore/typesystem_core_win.xml
@@ -43,6 +43,9 @@
</target-to-native>
</conversion-rule>
</primitive-type>
+ <inject-code class="native" position="beginning">
+ <insert-template name="checkPyCapsuleOrPyCObject_func"/>
+ </inject-code>
<value-type name="POINT">
<include file-name="wtypes.h" location="global"/>
</value-type>