⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 libmng_chunk_prc.c

📁 奇趣公司比较新的qt/emd版本
💻 C
📖 第 1 页 / 共 5 页
字号:
#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_PHYS, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_sBITFREE_CHUNK_HDR (mng_free_sbit){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SBIT, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_sbit));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SBIT, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_SKIPCHUNK_sPLTFREE_CHUNK_HDR (mng_free_splt){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SPLT, MNG_LC_START);#endif  if (((mng_spltp)pHeader)->iNamesize)    MNG_FREEX (pData, ((mng_spltp)pHeader)->zName,                      ((mng_spltp)pHeader)->iNamesize + 1);  if (((mng_spltp)pHeader)->iEntrycount)    MNG_FREEX (pData, ((mng_spltp)pHeader)->pEntries,                      ((mng_spltp)pHeader)->iEntrycount *                      (((mng_spltp)pHeader)->iSampledepth * 3 + sizeof (mng_uint16)) );#ifndef MNG_OPTIMIZE_CHUNKINITFREE  MNG_FREEX (pData, pHeader, sizeof (mng_splt));#endif#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SPLT, MNG_LC_END);#endif#ifndef MNG_OPTIMIZE_CHUNKINITFREE  return MNG_NOERROR;#else  return mng_free_general(pData, pHeader);#endif}#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_hISTFREE_CHUNK_HDR (mng_free_hist){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_HIST, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_hist));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_HIST, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_tIMEFREE_CHUNK_HDR (mng_free_time){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_TIME, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_time));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_TIME, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREEFREE_CHUNK_HDR (mng_free_mhdr){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_MHDR, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_mhdr));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_MHDR, MNG_LC_END);#endif  return MNG_NOERROR;}#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREEFREE_CHUNK_HDR (mng_free_mend){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_MEND, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_mend));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_MEND, MNG_LC_END);#endif  return MNG_NOERROR;}#endif/* ************************************************************************** */#ifndef MNG_SKIPCHUNK_LOOPFREE_CHUNK_HDR (mng_free_loop){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_LOOP, MNG_LC_START);#endif#ifndef MNG_NO_LOOP_SIGNALS_SUPPORTED  if (((mng_loopp)pHeader)->iCount)    MNG_FREEX (pData, ((mng_loopp)pHeader)->pSignals,                      ((mng_loopp)pHeader)->iCount * sizeof (mng_uint32) );#endif#ifndef MNG_OPTIMIZE_CHUNKINITFREE  MNG_FREEX (pData, pHeader, sizeof (mng_loop));#endif#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_LOOP, MNG_LC_END);#endif#ifndef MNG_OPTIMIZE_CHUNKINITFREE  return MNG_NOERROR;#else  return mng_free_general(pData, pHeader);#endif}/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREEFREE_CHUNK_HDR (mng_free_endl){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_ENDL, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_endl));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_ENDL, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_DEFIFREE_CHUNK_HDR (mng_free_defi){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_DEFI, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_defi));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_DEFI, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_BASIFREE_CHUNK_HDR (mng_free_basi){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_BASI, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_basi));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_BASI, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_CLONFREE_CHUNK_HDR (mng_free_clon){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_CLON, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_clon));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_CLON, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_SKIPCHUNK_PASTFREE_CHUNK_HDR (mng_free_past){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_PAST, MNG_LC_START);#endif  if (((mng_pastp)pHeader)->iCount)    MNG_FREEX (pData, ((mng_pastp)pHeader)->pSources,                      ((mng_pastp)pHeader)->iCount * sizeof (mng_past_source) );#ifndef MNG_OPTIMIZE_CHUNKINITFREE  MNG_FREEX (pData, pHeader, sizeof (mng_past));#endif#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_PAST, MNG_LC_END);#endif#ifndef MNG_OPTIMIZE_CHUNKINITFREE  return MNG_NOERROR;#else  return mng_free_general(pData, pHeader);#endif}#endif/* ************************************************************************** */#ifndef MNG_SKIPCHUNK_DISCFREE_CHUNK_HDR (mng_free_disc){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_DISC, MNG_LC_START);#endif  if (((mng_discp)pHeader)->iCount)    MNG_FREEX (pData, ((mng_discp)pHeader)->pObjectids,                      ((mng_discp)pHeader)->iCount * sizeof (mng_uint16) );#ifndef MNG_OPTIMIZE_CHUNKINITFREE  MNG_FREEX (pData, pHeader, sizeof (mng_disc));#endif#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_DISC, MNG_LC_END);#endif#ifndef MNG_OPTIMIZE_CHUNKINITFREE  return MNG_NOERROR;#else  return mng_free_general(pData, pHeader);#endif}#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_BACKFREE_CHUNK_HDR (mng_free_back){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_BACK, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_back));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_BACK, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_SKIPCHUNK_FRAMFREE_CHUNK_HDR (mng_free_fram){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_FRAM, MNG_LC_START);#endif  if (((mng_framp)pHeader)->iNamesize)    MNG_FREEX (pData, ((mng_framp)pHeader)->zName,                      ((mng_framp)pHeader)->iNamesize + 1);  if (((mng_framp)pHeader)->iCount)    MNG_FREEX (pData, ((mng_framp)pHeader)->pSyncids,                      ((mng_framp)pHeader)->iCount * sizeof (mng_uint32) );#ifndef MNG_OPTIMIZE_CHUNKINITFREE  MNG_FREEX (pData, pHeader, sizeof (mng_fram));#endif#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_FRAM, MNG_LC_END);#endif#ifndef MNG_OPTIMIZE_CHUNKINITFREE  return MNG_NOERROR;#else  return mng_free_general(pData, pHeader);#endif}#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_MOVEFREE_CHUNK_HDR (mng_free_move){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_MOVE, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_move));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_MOVE, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_CLIPFREE_CHUNK_HDR (mng_free_clip){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_CLIP, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_clip));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_CLIP, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_SHOWFREE_CHUNK_HDR (mng_free_show){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SHOW, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_show));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SHOW, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_OPTIMIZE_CHUNKINITFREE#ifndef MNG_SKIPCHUNK_TERMFREE_CHUNK_HDR (mng_free_term){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_TERM, MNG_LC_START);#endif  MNG_FREEX (pData, pHeader, sizeof (mng_term));#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_TERM, MNG_LC_END);#endif  return MNG_NOERROR;}#endif#endif/* ************************************************************************** */#ifndef MNG_SKIPCHUNK_SAVEFREE_CHUNK_HDR (mng_free_save){  mng_save_entryp pEntry = ((mng_savep)pHeader)->pEntries;  mng_uint32      iX;#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SAVE, MNG_LC_START);#endif  for (iX = 0; iX < ((mng_savep)pHeader)->iCount; iX++)  {    if (pEntry->iNamesize)      MNG_FREEX (pData, pEntry->zName, pEntry->iNamesize);    pEntry = pEntry + sizeof (mng_save_entry);  }  if (((mng_savep)pHeader)->iCount)    MNG_FREEX (pData, ((mng_savep)pHeader)->pEntries,                      ((mng_savep)pHeader)->iCount * sizeof (mng_save_entry) );#ifndef MNG_OPTIMIZE_CHUNKINITFREE  MNG_FREEX (pData, pHeader, sizeof (mng_save));#endif#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SAVE, MNG_LC_END);#endif#ifndef MNG_OPTIMIZE_CHUNKINITFREE  return MNG_NOERROR;#else  return mng_free_general(pData, pHeader);#endif}#endif/* ************************************************************************** */#ifndef MNG_SKIPCHUNK_SEEKFREE_CHUNK_HDR (mng_free_seek){#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SEEK, MNG_LC_START);#endif  if (((mng_seekp)pHeader)->iNamesize)    MNG_FREEX (pData, ((mng_seekp)pHeader)->zName,                      ((mng_seekp)pHeader)->iNamesize + 1);#ifndef MNG_OPTIMIZE_CHUNKINITFREE  MNG_FREEX (pData, pHeader, sizeof (mng_seek));#endif#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_FREE_SEEK, MNG_LC_END);#endif#ifndef MNG_OPTIMIZE_CHUNKINITFREE  return MNG_NOERROR;#else  return mng_free_general(pData, pHeader);#endif}#endif/* ************************************************************************** */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -