예제 #1
0
void DaoxFont_Delete( DaoxFont *self )
{
	DMap_Delete( self->glyphs );
	DString_Delete( self->buffer );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
예제 #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 );
}
예제 #3
0
파일: daoStream.c 프로젝트: wherby/dao
void DaoStream_Delete( DaoStream *self )
{
	DaoStream_Close( self );
	DString_Delete( self->fname );
	DString_Delete( self->streamString );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
예제 #4
0
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 );
}
예제 #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 );
}
예제 #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 );
}
예제 #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 );
}
예제 #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 );
}
예제 #9
0
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 );
}
예제 #10
0
void DaoxEdge_Delete( DaoxEdge *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
예제 #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 );
}
예제 #12
0
void DaoxAnimation_Delete( DaoxAnimation *self )
{
	DArray_Delete( self->keyFrames );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
예제 #13
0
파일: daoThread.c 프로젝트: hooloong/dao
void DaoSema_Delete( DaoSema *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DSema_Destroy( & self->mySema );
	dao_free( self );
}
예제 #14
0
void DaoPipeStream_Delete( DaoPipeStream *self )
{
	DaoPipeStream_Close( self );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
예제 #15
0
static void DaoChannel_Delete( DaoChannel *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DList_Delete( self->buffer );
	dao_free( self );
}
예제 #16
0
void DaoxUserType_Delete( DaoxUserType *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
예제 #17
0
void DaoxGlyph_Delete( DaoxGlyph *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DaoGC_DecRC( (DaoValue*) self->shape );
	dao_free( self );
}
예제 #18
0
파일: daoThread.c 프로젝트: hooloong/dao
static void DaoMutex_Delete( DaoMutex *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DMutex_Destroy( & self->myMutex );
	dao_free( self );
}
예제 #19
0
파일: daoThread.c 프로젝트: hooloong/dao
void DaoCondVar_Delete( DaoCondVar *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	DCondVar_Destroy( & self->myCondVar );
	dao_free( self );
}
예제 #20
0
void DaoStringStream_Delete( DaoStringStream *self )
{
	DString_Delete( self->base.buffer );
	DaoCstruct_Free( (DaoCstruct*) self );
	dao_free( self );
}
예제 #21
0
void DaoxCoroutine_Delete( DaoxCoroutine *self )
{
	DaoCstruct_Free( (DaoCstruct*) self );
	GC_DecRC( self->process );
	dao_free( self );
}