////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// This file is auto-generated by rute_gen. DO NOT EDIT
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include "../rute_base.h"
#include "../rute_manual.h"
#include <QPaintEvent>
#include "paint_event_ffi.h"
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
static struct RURect paint_event_rect(struct RUBase* self_c) {
QPaintEvent* qt_value = (QPaintEvent*)self_c;
auto ret_value = qt_value->rect();
WRRect* new_val = new WRRect();
*new_val = ret_value;
struct RURect ctl;
ctl.qt_data = (struct RUBase*)new_val;
ctl.host_data = (struct RUBase*)s_host_data_lookup[(void*)new_val];
ctl.all_funcs = &s_rect_all_funcs;
return ctl;
}
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
struct RUPaintEventFuncs s_paint_event_funcs = {
paint_event_rect,
};
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
struct RUPaintEventAllFuncs s_paint_event_all_funcs = {
&s_event_funcs,
&s_paint_event_funcs,
};