示例#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);
}
示例#2
0
void epx_gc_destroy(epx_gc_t* gc)
{
    epx_object_unref(gc);
}
示例#3
0
文件: epx_anim.c 项目: tonyrog/epx
void epx_anim_destroy(epx_animation_t* anim)
{
    epx_object_unref(anim);
}