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

📄 tplex.h

📁 TFixedAlloc类是一个非常不错的使用与Linux和windows跨平台的内存分配工具
💻 H
字号:
#ifndef __TPlex_H__
#define __TPlex_H__
	
#include "TypeDef.h"

struct TPlex     // warning variable length structure
{
	TPlex * pNext;
	void* data() { return this+1; };

	static TPlex * Create( TPlex *& head, TUINT nMax, TUINT cbElement );
			// like 'calloc' but no zero fill
			// may throw memory exceptions

	void FreeDataChain();       // free this one and links
};
#endif //__TPlex_H__

⌨️ 快捷键说明

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