static void get_pointer(Object *obj, Visitor *v, Property *prop,

                        const char *(*print)(void *ptr),

                        const char *name, Error **errp)

{

    DeviceState *dev = DEVICE(obj);

    void **ptr = qdev_get_prop_ptr(dev, prop);

    char *p;



    p = (char *) (*ptr ? print(*ptr) : "");

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

}

static void get_pointer(Object *obj, Visitor *v, Property *prop,

                        const char *(*print)(void *ptr),

                        const char *name, Error **errp)

{

    DeviceState *dev = DEVICE(obj);

    void **ptr = qdev_get_prop_ptr(dev, prop);

    char *p;



    p = (char *) (*ptr ? print(*ptr) : "");

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

}

static void FUNC_0(Object *VAR_0, Visitor *VAR_1, Property *VAR_2,

                        const char *(*VAR_3)(void *VAR_7),

                        const char *VAR_5, Error **VAR_6)

{

    DeviceState *dev = DEVICE(VAR_0);

    void **VAR_7 = qdev_get_prop_ptr(dev, VAR_2);

    char *VAR_7;



    VAR_7 = (char *) (*VAR_7 ? VAR_3(*VAR_7) : "");

    visit_type_str(VAR_1, &VAR_7, VAR_5, VAR_6);

}

static void FUNC_0(Object *VAR_0, Visitor *VAR_1, Property *VAR_2,
const char *(*VAR_3)(void *VAR_7),
const char *VAR_5, Error **VAR_6)
{ DeviceState *dev = DEVICE(VAR_0); void **VAR_7 = qdev_get_prop_ptr(dev, VAR_2); char *VAR_7; VAR_7 = (char *) (*VAR_7 ? VAR_3(*VAR_7) : ""); visit_type_str(VAR_1, &VAR_7, VAR_5, VAR_6); }