CMGDK r49-rc2
|
名字空间 | |
namespace | hgl |
__MAKE_HGL__&&!__MAKE_PLUGIN__ | |
宏定义 | |
#define | NEW_NULL_ARRAY(name, type, count) |
#define | SAFE_CLEAR(name) |
#define | SAFE_CLEAR_ARRAY(name) |
#define | SAFE_CLEAR_OBJECT_ARRAY(name, num) |
#define | FREE_OBJECT_ARRAY(name, num) |
#define | SAFE_FREE_OBJECT_ARRAY(name, num) |
#define | SAFE_RECREATE(name, code) |
#define | ARRAY_CALL(name, num, code) |
#define | LOAD_FUNC(type, func) |
#define | SAVE_FUNC(type, func) |
bool func(type data,void *buf,int buf_size) \ { \ if(!buf||buf_size<=0)return(false); \ \ MemStream ms(buf,buf_size); \ \ return(func(data,&ms)); \ } \ \ bool func(type data,const WideString &filename) \ { \ FileStream fs; \ \ if(fs.Create(filename)) \ return(func(data,&fs)); \ else \ return(false); \ }