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
// This file is auto-generated by rute_gen. DO NOT EDIT.
use rute_ffi_base::*;

#[allow(unused_imports)]
use auto::paint_device_ffi::*;
#[allow(unused_imports)]
use auto::pixmap_ffi::*;
#[allow(unused_imports)]
use std::os::raw::c_void;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUBitmapFuncs {
    pub destroy: extern "C" fn(self_c: *const RUBase),
    pub swap: extern "C" fn(self_c: *const RUBase, other: *const RUBase),
    pub clear: extern "C" fn(self_c: *const RUBase),
    pub from_image:
        extern "C" fn(self_c: *const RUBase, image: *const RUBase, flags: u32) -> RUBitmap,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUBitmapAllFuncs {
    pub paint_device_funcs: *const RUPaintDeviceFuncs,
    pub pixmap_funcs: *const RUPixmapFuncs,
    pub bitmap_funcs: *const RUBitmapFuncs,
}

#[repr(C)]
#[derive(Copy, Clone)]
pub struct RUBitmap {
    pub qt_data: *const RUBase,
    pub host_data: *const RUBase,
    pub all_funcs: *const RUBitmapAllFuncs,
}