emWIN中实现了通用的链表结构
来源:互联网 发布:linux下查看用户权限 编辑:程序博客网 时间:2024/05/18 11:08
emWIN中实现了通用的链表结构
位于头文件GUI_ARRAY.h
GUI_ARRAY GUI_ARRAY_Create (void);
int GUI_ARRAY_AddItem (GUI_ARRAY hArray, const void * pNew, int Len);
void GUI_ARRAY_Delete (GUI_ARRAY hArray);
WM_HMEM GUI_ARRAY_GethItem (GUI_ARRAY hArray, unsigned int Index);
unsigned GUI_ARRAY_GetNumItems (GUI_ARRAY hArray);
void * GUI_ARRAY_GetpItemLocked (GUI_ARRAY hArray, unsigned int Index);
int GUI_ARRAY_SethItem (GUI_ARRAY hArray, unsigned int Index, WM_HMEM hItem);
WM_HMEM GUI_ARRAY_SetItem (GUI_ARRAY hArray, unsigned int Index, const void * pData, int Len);
void GUI_ARRAY_DeleteItem (GUI_ARRAY hArray, unsigned int Index);
char GUI_ARRAY_InsertBlankItem (GUI_ARRAY hArray, unsigned int Index);
WM_HMEM GUI_ARRAY_InsertItem (GUI_ARRAY hArray, unsigned int Index, int Len);
void * GUI_ARRAY_ResizeItemLocked(GUI_ARRAY hArray, unsigned int Index, int Len);
int GUI_ARRAY_AddItem (GUI_ARRAY hArray, const void * pNew, int Len);
void GUI_ARRAY_Delete (GUI_ARRAY hArray);
WM_HMEM GUI_ARRAY_GethItem (GUI_ARRAY hArray, unsigned int Index);
unsigned GUI_ARRAY_GetNumItems (GUI_ARRAY hArray);
void * GUI_ARRAY_GetpItemLocked (GUI_ARRAY hArray, unsigned int Index);
int GUI_ARRAY_SethItem (GUI_ARRAY hArray, unsigned int Index, WM_HMEM hItem);
WM_HMEM GUI_ARRAY_SetItem (GUI_ARRAY hArray, unsigned int Index, const void * pData, int Len);
void GUI_ARRAY_DeleteItem (GUI_ARRAY hArray, unsigned int Index);
char GUI_ARRAY_InsertBlankItem (GUI_ARRAY hArray, unsigned int Index);
WM_HMEM GUI_ARRAY_InsertItem (GUI_ARRAY hArray, unsigned int Index, int Len);
void * GUI_ARRAY_ResizeItemLocked(GUI_ARRAY hArray, unsigned int Index, int Len);
其中GUI_ARRAY_AddItem(GUI_ARRAY hArray, const void * pNew, int Len)中,对pNew所指向的内容是作Copy动作,而非简单的指向。
测试OK
1 0
- emWIN中实现了通用的链表结构
- 数据结构之通用树(使用链表实现树的存储结构,双亲孩子表示法)
- [EMWIN] emwin的刷新机制探索1
- 一个通用链表的简单实现
- 简单的通用链表实现
- 一个通用链表的简单实现
- 通用链表的设计与实现
- 通用链表的设计与实现
- 通用链表,队列的实现
- 在emwin中显示字库芯片GT23L24M0140的字模
- 使用EMWIN过程中遇到的问题与解决方法
- 复制表结构的通用存储过程
- 复制表结构的通用存储过程
- 复制表结构的通用存储过程
- 复制表结构的通用存储过程
- 复制表结构的通用存储过程
- 复制表结构的通用存储过程
- 复制表结构的通用存储过程
- 攻击实例与防御
- MCU非常重要的通信接口--UART的调试
- Linux下模拟多线程的并发并发shell脚本
- createQuery is not valid without active transaction
- RSA解密算法优化(java)
- emWIN中实现了通用的链表结构
- C++平衡二叉树(AVL)
- jsp获得绝对路径
- 设计模式之单例设计模式
- 关于Android面试中如何应对内存优化
- Emulating dynamic scoping in GNU R
- SpringMVC 中整合JSON、XML视图一
- Java简介以及开发环境配置
- MTK lk源码解析5( lk 阶段aboot.c 解析)