void object_unparent(Object *obj)

{

    object_ref(obj);

    if (obj->parent) {

        object_property_del_child(obj->parent, obj, NULL);

    }

    if (obj->class->unparent) {

        (obj->class->unparent)(obj);

    }

    object_unref(obj);

}

void object_unparent(Object *obj)

{

    object_ref(obj);

    if (obj->parent) {

        object_property_del_child(obj->parent, obj, NULL);

    }

    if (obj->class->unparent) {

        (obj->class->unparent)(obj);

    }

    object_unref(obj);

}

void FUNC_0(Object *VAR_0)

{

    object_ref(VAR_0);

    if (VAR_0->parent) {

        object_property_del_child(VAR_0->parent, VAR_0, NULL);

    }

    if (VAR_0->class->unparent) {

        (VAR_0->class->unparent)(VAR_0);

    }

    object_unref(VAR_0);

}

void FUNC_0(Object *VAR_0)
{ object_ref(VAR_0); if (VAR_0->parent) { object_property_del_child(VAR_0->parent, VAR_0, NULL); } if (VAR_0->class->unparent) { (VAR_0->class->unparent)(VAR_0); } object_unref(VAR_0); }