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

📄 malloc.h

📁 s1mp3 sdk, action mp3 develop tool kit!
💻 H
字号:
#ifndef __MALLOC_H__#define __MALLOC_H__/* * Now some trickery to link in the correct routines for far * * $Id: malloc.h,v 1.4 2002/05/22 20:13:15 dom Exp $ */#ifndef FARDATA/* * Heapsize is a macro which will create a heap of size bp */#define HEAPSIZE(bp)    unsigned char heap[bp]; extern void __LIB__ *calloc(int,int); extern void __LIB__ *malloc(int);extern void __LIB__ free(void *);extern int __LIB__ getfree();extern int __LIB__ getlarge();extern void __LIB__ heapinit(int);extern void __LIB__ *realloc_down(void *,int);#else/* * Now some definitions for far functions */#define HEAPSIZE(bp)#define calloc(a,b) calloc_far(a,b)#define malloc(a)   malloc_far(a)#define free(a)     free_far(a)/* getfree/getlarge have no place in far stuff, non ANSI in anycase */#define getfree()  #define getlarge()#define heapinit(a) heapinit_far(a)extern far void __LIB__ *calloc_far(int, int);extern far void __LIB__ *malloc_far(long);extern void __LIB__ free_far(far void *);extern void __LIB__ freeall_far();/* Create the correct memory spec */#ifdef MAKE_PACKAGE#pragma output far_mmset#endif#endif /* FARDATA */#endif /* _MALLOC_H */

⌨️ 快捷键说明

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