Example #1
0
void DaoxFont_Delete( DaoxFont *self )
{
	DMap_Delete( self->glyphs );
	DString_Delete( self->buffer );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
Example #2
0
void DaoxNode_Delete( DaoxNode *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	if( self->ins ) DList_Delete( self->ins );
	DList_Delete( self->outs );
	dao_free( self );
}
Example #3
0
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 );
}
Example #5
0
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 );
}
Example #6
0
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 );
}
Example #7
0
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 );
}
Example #8
0
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 );
}
Example #10
0
void DaoxEdge_Delete( DaoxEdge *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
Example #11
0
void Dao_Buffer_Delete( Dao_Buffer *self )
{
	DaoCstruct_Free( (DaoCstruct*)self );
	if( self->buffer.pVoid ) dao_free( self->buffer.pVoid );
	dao_free( self );
}
Example #12
0
void DaoxAnimation_Delete( DaoxAnimation *self )
{
	DArray_Delete( self->keyFrames );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
Example #13
0
void DaoSema_Delete( DaoSema *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DSema_Destroy( & self->mySema );
	dao_free( self );
}
Example #14
0
void DaoPipeStream_Delete( DaoPipeStream *self )
{
	DaoPipeStream_Close( self );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
Example #15
0
static void DaoChannel_Delete( DaoChannel *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DList_Delete( self->buffer );
	dao_free( self );
}
Example #16
0
void DaoxUserType_Delete( DaoxUserType *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
Example #17
0
void DaoxGlyph_Delete( DaoxGlyph *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DaoGC_DecRC( (DaoValue*) self->shape );
	dao_free( self );
}
Example #18
0
static void DaoMutex_Delete( DaoMutex *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DMutex_Destroy( & self->myMutex );
	dao_free( self );
}
Example #19
0
void DaoCondVar_Delete( DaoCondVar *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DCondVar_Destroy( & self->myCondVar );
	dao_free( self );
}
Example #20
0
void DaoStringStream_Delete( DaoStringStream *self )
{
	DString_Delete( self->base.buffer );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
Example #21
0
void DaoxCoroutine_Delete( DaoxCoroutine *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	GC_DecRC( self->process );
	dao_free( self );
}