aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtGui/typesystem_gui_win.xml
blob: b3b8a75b698af7d5385b9aab4d769114436ef27e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="UTF-8"?>
<!--
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
-->
<typesystem package="PySide6.QtGui">
    <primitive-type name="HBITMAP" target-lang-api-name="PyLong">
        <conversion-rule>
            <native-to-target file="../glue/qtgui.cpp" snippet="return-pylong-voidptr"/>
            <target-to-native>
                <add-conversion type="PyLong" file="../glue/qtgui.cpp"
                                snippet="conversion-pylong"/>
            </target-to-native>
        </conversion-rule>
    </primitive-type>
    <primitive-type name="HICON" target-lang-api-name="PyLong">
        <conversion-rule>
            <native-to-target file="../glue/qtgui.cpp" snippet="return-pylong-voidptr"/>
            <target-to-native>
                <add-conversion type="PyLong" file="../glue/qtgui.cpp"
                                snippet="conversion-pylong"/>
            </target-to-native>
        </conversion-rule>
    </primitive-type>
    <primitive-type name="HMONITOR" target-lang-api-name="PyLong">
        <conversion-rule>
            <native-to-target file="../glue/qtgui.cpp" snippet="return-pylong-voidptr"/>
            <target-to-native>
                <add-conversion type="PyLong" file="../glue/qtgui.cpp"
                                snippet="conversion-pylong"/>
            </target-to-native>
        </conversion-rule>
    </primitive-type>
    <primitive-type name="HRGN" target-lang-api-name="PyLong">
        <conversion-rule>
            <native-to-target file="../glue/qtgui.cpp" snippet="return-pylong-voidptr"/>
            <target-to-native>
                <add-conversion type="PyLong" file="../glue/qtgui.cpp"
                                snippet="conversion-pylong"/>
            </target-to-native>
        </conversion-rule>
    </primitive-type>
</typesystem>