static void qmp_serialize(void *native_in, void **datap,

                          VisitorFunc visit, Error **errp)

{

    QmpSerializeData *d = g_malloc0(sizeof(*d));



    d->qov = qmp_output_visitor_new(&d->obj);

    visit(d->qov, &native_in, errp);

    *datap = d;

}

static void qmp_serialize(void *native_in, void **datap,

                          VisitorFunc visit, Error **errp)

{

    QmpSerializeData *d = g_malloc0(sizeof(*d));



    d->qov = qmp_output_visitor_new(&d->obj);

    visit(d->qov, &native_in, errp);

    *datap = d;

}

static void FUNC_0(void *VAR_0, void **VAR_1,

                          VisitorFunc VAR_2, Error **VAR_3)

{

    QmpSerializeData *d = g_malloc0(sizeof(*d));



    d->qov = qmp_output_visitor_new(&d->obj);

    VAR_2(d->qov, &VAR_0, VAR_3);

    *VAR_1 = d;

}

static void FUNC_0(void *VAR_0, void **VAR_1,
VisitorFunc VAR_2, Error **VAR_3)
{ QmpSerializeData *d = g_malloc0(sizeof(*d)); d->qov = qmp_output_visitor_new(&d->obj); VAR_2(d->qov, &VAR_0, VAR_3); *VAR_1 = d; }