Ejemplo n.º 1
0
void CDlpFile_Destructor(CDlpObject* __this)
{
	GET_THIS_VIRTUAL(CDlpFile);
	{
	/*{{CGEN_DONECODE */

  /* free list of filetypes */
  if(_this->m_lpFtypes)
  {
  list_process(_this->m_lpFtypes,NULL,CDlpFile_FreeFTypeList);
  list_destroy_nodes(_this->m_lpFtypes);
  list_destroy(_this->m_lpFtypes);
  _this->m_lpFtypes = NULL;
  }

  DONE;

	/*}}CGEN_DONECODE */
	}

#ifndef __cplusplus

	/* Destroy base instance */
	CDlpObject_Destructor(_this->m_lpBaseInstance);
	dlp_free(_this->m_lpBaseInstance);
	_this->m_lpBaseInstance = NULL;

#endif /* #ifndef __cplusplus */
}
Ejemplo n.º 2
0
void CFsttools_Destructor(CDlpObject* __this)
{
    GET_THIS_VIRTUAL(CFsttools);
    {
        /*{{CGEN_DONECODE */
        DONE;
        /*}}CGEN_DONECODE */
    }

#ifndef __cplusplus

    /* Destroy base instance */
    CDlpObject_Destructor(_this->m_lpBaseInstance);
    dlp_free(_this->m_lpBaseInstance);
    _this->m_lpBaseInstance = NULL;

#endif /* #ifndef __cplusplus */
}