Beispiel #1
0
void EPX_GC_TYPE_RELEASE(void* arg)
{
    epx_gc_t* gc = (epx_gc_t*) arg;

    EPX_DBGFMT_MEM("EGC_TYPE_RELEASE: %p", arg);
    epx_object_unref(gc->fill_texture);
    epx_object_unref(gc->line_texture);
    epx_object_unref(gc->border_texture);
    epx_object_unref(gc->font);
    if (gc->on_heap) free(gc);
}
Beispiel #2
0
void epx_gc_destroy(epx_gc_t* gc)
{
    epx_object_unref(gc);
}
Beispiel #3
0
void epx_anim_destroy(epx_animation_t* anim)
{
    epx_object_unref(anim);
}