예제 #1
0
static void
CcString_Destruct(CcObject_t * self)
{
    CcString_t * ccself = (CcString_t *)self;
    CcFree(ccself->value);
    CcObject_Destruct(self);
}
예제 #2
0
static void
CcXmlData_Destruct(CcObject_t * self)
{
    CcXmlData_t * ccself = (CcXmlData_t *)self;
    if (ccself->name) CcFree(ccself->name);
    if (ccself->tokenName) CcFree(ccself->tokenName);
    CcObject_Destruct(self);
}
예제 #3
0
static void
CcSection_Destruct(CcObject_t * self)
{
    CcSection_t * ccself = (CcSection_t *)self;

    CcsPosition_Destruct(ccself->pos);
    CcFree(ccself->name);
    CcObject_Destruct(self);
}
예제 #4
0
static void
CcXmlSpec_Destruct(CcObject_t * self)
{
    CcXmlSpec_t * ccself = (CcXmlSpec_t *)self;
    CcArrayList_Destruct(&ccself->PInstructions);
    CcArrayList_Destruct(&ccself->Attrs);
    CcArrayList_Destruct(&ccself->Tags);
    CcBitArray_Destruct(&ccself->options);
    CcObject_Destruct(self);
}
예제 #5
0
파일: State.c 프로젝트: dcsouthwick/cocoxml
static void
CcState_Destruct(CcObject_t * self)
{
    CcAction_t * cur, * next;
    CcState_t * ccself = (CcState_t *)self;

    for (cur = ccself->firstAction; cur; cur = next) {
	next = cur->next;
	CcAction_Destruct(cur);
    }
    CcObject_Destruct(self);
}
예제 #6
0
파일: EBNF.c 프로젝트: charlesw1234/cocoxml
void CcNode_Destruct(CcObject_t * self)
{
    CcObject_Destruct(self);
}