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

📄 smartall.h

📁 快速傅立叶变换程序代码,学信号的同学,可要注意了
💻 H
字号:
/*	Definitions for the smart memory allocator*/#ifdef SMARTALLOCextern char *sm_malloc(), *sm_calloc(), *sm_realloc(),	    *actuallymalloc(), *actuallycalloc(), *actuallyrealloc();extern void sm_free(), actuallyfree(), sm_dump(), sm_static();/* Redefine standard memory allocator calls to use our routines   instead. */#define free	       sm_free#define cfree	       sm_free#define malloc(x)      sm_malloc(__FILE__, __LINE__, (x))#define calloc(n,e)    sm_calloc(__FILE__, __LINE__, (n), (e))#define realloc(p,x)   sm_realloc(__FILE__, __LINE__, (p), (x))#elseextern char *malloc(), *calloc(), *realloc();extern void free();/* If SMARTALLOC is disabled, define its special calls to default to   the standard routines.  */#define actuallyfree(x)      free(x)#define actuallymalloc(x)    malloc(x)#define actuallycalloc(x,y)  calloc(x,y)#define actuallyrealloc(x,y) realloc(x,y)#define sm_dump(x)#define sm_static(x)#endif

⌨️ 快捷键说明

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