void DaoxFont_Delete( DaoxFont *self ) { DMap_Delete( self->glyphs ); DString_Delete( self->buffer ); DaoCstruct_Free( (DaoCstruct*) self ); dao_free( self ); }
void DaoxNode_Delete( DaoxNode *self ) { DaoCstruct_Free( (DaoCstruct*) self ); if( self->ins ) DList_Delete( self->ins ); DList_Delete( self->outs ); dao_free( self ); }
void DaoStream_Delete( DaoStream *self ) { DaoStream_Close( self ); DString_Delete( self->fname ); DString_Delete( self->streamString ); DaoCstruct_Free( (DaoCstruct*) self ); dao_free( self ); }
void DaoState_Delete( DaoState *self ) { DaoGC_DecRC( self->state ); DaoGC_DecRC( (DaoValue*)self->lock ); DaoGC_DecRC( (DaoValue*)self->defmtx ); DaoGC_DecRC( (DaoValue*)self->demands ); DaoCstruct_Free( (DaoCstruct*)self ); dao_free( self ); }
void DaoxGraph_Delete( DaoxGraph *self ) { DaoCstruct_Free( (DaoCstruct*) self ); DList_Delete( self->nodes ); DList_Delete( self->edges ); GC_DecRC( self->nodeType ); GC_DecRC( self->edgeType ); dao_free( self ); }
static void DaoFuture_Delete( DaoFuture *self ) { DaoCstruct_Free( (DaoCstruct*) self ); GC_DecRC( self->value ); GC_DecRC( self->actor ); GC_DecRC( self->message ); GC_DecRC( self->selected ); GC_DecRC( self->process ); GC_DecRC( self->precond ); dao_free( self ); }
void DaoxWindow_Delete( DaoxWindow *self ) { //if( self->handle ) glfwDestroyWindow( self->handle ); DaoCstruct_Free( (DaoCstruct*) self ); GC_DecRC( self->context ); GC_DecRC( self->painter ); GC_DecRC( self->renderer ); GC_DecRC( self->widget ); GC_DecRC( self->model ); DString_Delete( self->title ); dao_free( self ); }
void DaoxResource_Delete( DaoxResource *self ) { DaoCstruct_Free( (DaoCstruct*) self ); DMap_Delete( self->scenes ); DMap_Delete( self->lights ); DMap_Delete( self->cameras ); DMap_Delete( self->images ); DMap_Delete( self->textures ); DMap_Delete( self->effects ); DMap_Delete( self->materials ); DMap_Delete( self->geometries ); DMap_Delete( self->terrains ); dao_free( self ); }
void DaoQueue_Delete( DaoQueue *self ) { QueueItem *item; while( self->tail != NULL ){ item = self->tail; self->tail = item->previous; DaoGC_DecRC( item->value ); dao_free( item ); } DaoGC_DecRC( (DaoValue*)self->mtx ); DaoGC_DecRC( (DaoValue*)self->pushvar ); DaoGC_DecRC( (DaoValue*)self->popvar ); DaoCstruct_Free( (DaoCstruct*)self ); dao_free( self ); }
void DaoxEdge_Delete( DaoxEdge *self ) { DaoCstruct_Free( (DaoCstruct*) self ); dao_free( self ); }
void Dao_Buffer_Delete( Dao_Buffer *self ) { DaoCstruct_Free( (DaoCstruct*)self ); if( self->buffer.pVoid ) dao_free( self->buffer.pVoid ); dao_free( self ); }
void DaoxAnimation_Delete( DaoxAnimation *self ) { DArray_Delete( self->keyFrames ); DaoCstruct_Free( (DaoCstruct*) self ); dao_free( self ); }
void DaoSema_Delete( DaoSema *self ) { DaoCstruct_Free( (DaoCstruct*) self ); DSema_Destroy( & self->mySema ); dao_free( self ); }
void DaoPipeStream_Delete( DaoPipeStream *self ) { DaoPipeStream_Close( self ); DaoCstruct_Free( (DaoCstruct*) self ); dao_free( self ); }
static void DaoChannel_Delete( DaoChannel *self ) { DaoCstruct_Free( (DaoCstruct*) self ); DList_Delete( self->buffer ); dao_free( self ); }
void DaoxUserType_Delete( DaoxUserType *self ) { DaoCstruct_Free( (DaoCstruct*) self ); dao_free( self ); }
void DaoxGlyph_Delete( DaoxGlyph *self ) { DaoCstruct_Free( (DaoCstruct*) self ); DaoGC_DecRC( (DaoValue*) self->shape ); dao_free( self ); }
static void DaoMutex_Delete( DaoMutex *self ) { DaoCstruct_Free( (DaoCstruct*) self ); DMutex_Destroy( & self->myMutex ); dao_free( self ); }
void DaoCondVar_Delete( DaoCondVar *self ) { DaoCstruct_Free( (DaoCstruct*) self ); DCondVar_Destroy( & self->myCondVar ); dao_free( self ); }
void DaoStringStream_Delete( DaoStringStream *self ) { DString_Delete( self->base.buffer ); DaoCstruct_Free( (DaoCstruct*) self ); dao_free( self ); }
void DaoxCoroutine_Delete( DaoxCoroutine *self ) { DaoCstruct_Free( (DaoCstruct*) self ); GC_DecRC( self->process ); dao_free( self ); }