char *object_property_print(Object *obj, const char *name, bool human,

                            Error **errp)

{

    StringOutputVisitor *sov;

    char *string = NULL;

    Error *local_err = NULL;



    sov = string_output_visitor_new(human);

    object_property_get(obj, string_output_get_visitor(sov), name, &local_err);

    if (local_err) {

        error_propagate(errp, local_err);

        goto out;

    }



    string = string_output_get_string(sov);



out:

    visit_free(string_output_get_visitor(sov));

    return string;

}

char *object_property_print(Object *obj, const char *name, bool human,

                            Error **errp)

{

    StringOutputVisitor *sov;

    char *string = NULL;

    Error *local_err = NULL;



    sov = string_output_visitor_new(human);

    object_property_get(obj, string_output_get_visitor(sov), name, &local_err);

    if (local_err) {

        error_propagate(errp, local_err);

        goto out;

    }



    string = string_output_get_string(sov);



out:

    visit_free(string_output_get_visitor(sov));

    return string;

}

char *FUNC_0(Object *VAR_0, const char *VAR_1, bool VAR_2,

                            Error **VAR_3)

{

    StringOutputVisitor *sov;

    char *VAR_4 = NULL;

    Error *local_err = NULL;



    sov = string_output_visitor_new(VAR_2);

    object_property_get(VAR_0, string_output_get_visitor(sov), VAR_1, &local_err);

    if (local_err) {

        error_propagate(VAR_3, local_err);

        goto out;

    }



    VAR_4 = string_output_get_string(sov);



out:

    visit_free(string_output_get_visitor(sov));

    return VAR_4;

}

char *FUNC_0(Object *VAR_0, const char *VAR_1, bool VAR_2,
Error **VAR_3)
{ StringOutputVisitor *sov; char *VAR_4 = NULL; Error *local_err = NULL; sov = string_output_visitor_new(VAR_2); object_property_get(VAR_0, string_output_get_visitor(sov), VAR_1, &local_err); if (local_err) { error_propagate(VAR_3, local_err); goto out; } VAR_4 = string_output_get_string(sov); out:
visit_free(string_output_get_visitor(sov)); return VAR_4; }