Skip to main content

fill_fields

Function fill_fields 

Source
pub fn fill_fields(
    align: usize,
    size: usize,
    flags: u32,
    name: &str,
    meta_obj_fn: usize,
    default_ctr_fn: usize,
    copy_ctr_fn: usize,
    dtor_fn: usize,
) -> QMetaTypeInterface
Expand description

Builds an interface from the given layout, flags, name and callbacks.

name is copied and leaked in C++, as Qt keeps it for the lifetime of the program.