mem.h
来自「speech signal process tools」· C头文件 代码 · 共 34 行
H
34 行
/* * (c) Copyright 1989 Sun Microsystems, Inc. Sun design patents * pending in the U.S. and foreign countries. See LEGAL_NOTICE * file for terms of the license. * * Written for Sun Microsystems by Crucible, Santa Cruz, CA. */#ifndef mem_H#define mem_H#ifdef __cplusplusextern "C" {#endif#include <esps/esps.h>/* @(#) mem.h 25.1 90/04/10 Crucible *//* @(#)mem.h 1.3 2/20/96 ERL */extern void *MemAlloc(); /* malloc frontend */extern void *MemCalloc(); /* calloc frontend */extern void MemFree(); /* free frontend */#define MemNew(t) ((t *)MemAlloc((unsigned int)sizeof(t)))#define MemNewString(s) (strcpy(MemAlloc(strlen(s)+1),s))#ifdef __cplusplus}#endif#endif /* mem_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?