IStack.h
资源名称:MenuList.rar [点击查看]
上传用户:duwei1288
上传日期:2009-12-27
资源大小:451k
文件大小:0k
源码类别:
BREW编程
开发平台:
Visual C++
- #ifndef _ISTACK_H
- #define _ISTACK_H
- #include "AeeStdLib.h"
- #define MAX_STACK_SIZE 10
- typedef struct _IStack
- {
- void* m_pData[MAX_STACK_SIZE];
- int m_nTopPtr;
- }IStack;
- IStack* ISTACK_CreateInstance();
- boolean ISTACK_Release(IStack** pStack);
- boolean ISTACK_PushOnStack(IStack* pStack,void* pStackElement);
- void* ISTACK_PopFromStack(IStack* pStack);
- void* ISTACK_GetTopElement(IStack* pStack);
- #endif