📄 mem.h
字号:
/* * (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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -