qtbridge-interfaces 0.1.4

Qt Bridge: Proxies and interfaces between Rust and Qt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2025 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only

use super::proxy_rust::QObjectProxyRust;
#[cxx::bridge]
pub mod ffi {
    unsafe extern "C++" {}
    extern "Rust" {
        type QObjectProxyRust;
        # [Self = QObjectProxyRust]
        # [cxx_name = dropSelf]
        unsafe fn drop_self_impl(self_ptr: *mut QObjectProxyRust, rust_obj_ptr: *const u8);
    }
}
unsafe impl cxx::ExternType for QObjectProxyRust {
    type Id = cxx::type_id!(QObjectProxyRust);
    type Kind = cxx::kind::Trivial;
}