CX_OBJECT_FREE(cxTextureFactory, cxObject) { CX_SLOT_RELEASE(this->onMemory); CX_RELEASE(this->caches); }
CX_OBJECT_FREE(cxAutoPool, cxObject) { CX_RELEASE(this->objects); }
CX_OBJECT_FREE(cxPlayer, cxObject) { CX_RELEASE(this->tracks); }
static void cxTextureFactoryDestroy(cxEvent *event) { CX_RELEASE(instance); instance = NULL; }
void cxPlayerDestroy() { CX_RELEASE(instance); instance = NULL; }
CX_OBJECT_FREE(cxTrack, cxObject) { CX_RELEASE(this->file); }
CX_OBJECT_FREE(cxStack, cxObject) { CX_RELEASE(this->array); }
CX_FREE(cxMemPool, cxObject) { CX_RELEASE(this->objects); }
CX_FREE(cxTextureMTF, cxTexture) { CX_RELEASE(this->caches); }
CX_OBJECT_FREE(cxTimeLine, cxAction) { CX_EVENT_RELEASE(this->onTime); CX_RELEASE(this->times); }
CX_OBJECT_FREE(cxMp3Stream, cxStream) { cxMp3StreamClose(this); CX_RELEASE(this->path); }
void cxTypesFree() { CX_RELEASE(types); }
CX_OBJECT_FREE(cxHashRoot, cxObject) { CX_RELEASE(this->items); CX_METHOD_RELEASE(this->Make); }
void cxAutoPoolDestroy() { CX_RELEASE(autopool); autopool = NULL; }
CX_OBJECT_FREE(cxSprite, cxView) { CX_RELEASE(this->shader); CX_RELEASE(this->texture); }
CX_FREE(cxSpline, cxAction) { CX_EVENT_RELEASE(this->onAngle); CX_EVENT_RELEASE(this->onIndex); CX_RELEASE(this->points); }
void cxEventBaseDestroy() { CX_RELEASE(instance); instance = NULL; }