static void visit_type_TestStruct(Visitor *v, TestStruct **obj,

                                  const char *name, Error **errp)

{

    Error *err = NULL;



    visit_start_struct(v, (void **)obj, "TestStruct", name, sizeof(TestStruct),

                       &err);

    if (err) {

        goto out;

    }



    visit_type_int(v, &(*obj)->integer, "integer", &err);

    visit_type_bool(v, &(*obj)->boolean, "boolean", &err);

    visit_type_str(v, &(*obj)->string, "string", &err);



    visit_end_struct(v, &err);



out:

    error_propagate(errp, err);

}

static void visit_type_TestStruct(Visitor *v, TestStruct **obj,

                                  const char *name, Error **errp)

{

    Error *err = NULL;



    visit_start_struct(v, (void **)obj, "TestStruct", name, sizeof(TestStruct),

                       &err);

    if (err) {

        goto out;

    }



    visit_type_int(v, &(*obj)->integer, "integer", &err);

    visit_type_bool(v, &(*obj)->boolean, "boolean", &err);

    visit_type_str(v, &(*obj)->string, "string", &err);



    visit_end_struct(v, &err);



out:

    error_propagate(errp, err);

}

    visit_end_struct(v, &err);         goto out;     Error *err = NULL;
static void FUNC_0(Visitor *VAR_0, TestStruct **VAR_1,

                                  const char *VAR_2, Error **VAR_3)

{

    Error *err = NULL;



    visit_start_struct(VAR_0, (void **)VAR_1, "TestStruct", VAR_2, sizeof(TestStruct),

                       &err);

    if (err) {

        goto out;

    }



    visit_type_int(VAR_0, &(*VAR_1)->integer, "integer", &err);

    visit_type_bool(VAR_0, &(*VAR_1)->boolean, "boolean", &err);

    visit_type_str(VAR_0, &(*VAR_1)->string, "string", &err);



    visit_end_struct(VAR_0, &err);



out:

    error_propagate(VAR_3, err);

}

static void FUNC_0(Visitor *VAR_0, TestStruct **VAR_1,
const char *VAR_2, Error **VAR_3)
{ Error *err = NULL; visit_start_struct(VAR_0, (void **)VAR_1, "TestStruct", VAR_2, sizeof(TestStruct),
&err); if (err) { goto out; } visit_type_int(VAR_0, &(*VAR_1)->integer, "integer", &err); visit_type_bool(VAR_0, &(*VAR_1)->boolean, "boolean", &err); visit_type_str(VAR_0, &(*VAR_1)->string, "string", &err); visit_end_struct(VAR_0, &err); out:
error_propagate(VAR_3, err); }