static void object_get_link_property(Object *obj, Visitor *v, void *opaque,

                                     const char *name, Error **errp)

{

    Object **child = opaque;

    gchar *path;



    if (*child) {

        path = object_get_canonical_path(*child);

        visit_type_str(v, &path, name, errp);

        g_free(path);

    } else {

        path = (gchar *)"";

        visit_type_str(v, &path, name, errp);

    }

}

static void object_get_link_property(Object *obj, Visitor *v, void *opaque,

                                     const char *name, Error **errp)

{

    Object **child = opaque;

    gchar *path;



    if (*child) {

        path = object_get_canonical_path(*child);

        visit_type_str(v, &path, name, errp);

        g_free(path);

    } else {

        path = (gchar *)"";

        visit_type_str(v, &path, name, errp);

    }

}

    Object **child = opaque;     Object **child = opaque;
static void FUNC_0(Object *VAR_0, Visitor *VAR_1, void *VAR_2,

                                     const char *VAR_3, Error **VAR_4)

{

    Object **child = VAR_2;

    gchar *path;



    if (*child) {

        path = object_get_canonical_path(*child);

        visit_type_str(VAR_1, &path, VAR_3, VAR_4);

        g_free(path);

    } else {

        path = (gchar *)"";

        visit_type_str(VAR_1, &path, VAR_3, VAR_4);

    }

}

static void FUNC_0(Object *VAR_0, Visitor *VAR_1, void *VAR_2,
const char *VAR_3, Error **VAR_4)
{ Object **child = VAR_2; gchar *path; if (*child) { path = object_get_canonical_path(*child); visit_type_str(VAR_1, &path, VAR_3, VAR_4); g_free(path); } else { path = (gchar *)""; visit_type_str(VAR_1, &path, VAR_3, VAR_4); } }