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

📄 list.c

📁 DVB软件,基于CT216软件的开发源程序.
💻 C
字号:
// implementation of 139 built 0425

#if !defined(__BORLANDC__)
    #define MD_PLATFORM_CHEERTEK 1
#endif

#include <assert.h>

#if MD_PLATFORM_CHEERTEK
    #include "stdlib1.h"
#else
    #include <stdlib.h>
#endif

#include "List.h"
#include "dvb_sys.h"
#ifdef CT216T_ELGIST_MM
#include "sys_api.h"
extern u32 gen_point;
#endif

#if 1
#define LIST_MSG(p)
#else
#define LIST_MSG(p)			printf p
#endif

#ifdef MD_PLATFORM_CHEERTEK
	#define LLv1x_malloc HF_malloc
	#define LLv1x_calloc HF_calloc
	#define LLv1x_free HF_free

//	#define LLv1x_memcpy DVB_MemoryCopy
//	#define LLv1x_memset DVB_MemorySet
	#define LLv1x_memcpy memcpy
	#define LLv1x_memset memset

    //#error "Cheertek_Platform"
#else
	#define LLv1x_malloc malloc
	#define LLv1x_calloc calloc
	#define LLv1x_free free

	#define LLv1x_memcpy memcpy
	#define LLv1x_memset memset
    //#error "Windows_Platform"
#endif

//#define MD_MAX_OBJSIZE (256000) // 256KB
#define MD_MAX_OBJSIZE (512000) // 512KB
//#define MD_MAX_OBJSIZE (1024000) // 1MB
/*******************************************************************/

#define MF_nodeLink(p1,p2) {if(p1){(p1)->Next=p2;}if(p2){(p2)->Prev=p1;}} // 0424 代刚: 癸磅︽硉

⌨️ 快捷键说明

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