📄 mpetools.h
字号:
/* $Id: mpetools.h,v 1.2 2004/08/18 20:45:50 chan Exp $ *//* (C) 2001 by Argonne National Laboratory. See COPYRIGHT in top-level directory.*//* This file contains some basic definitions that the tools routines may use. They include: The name of the storage allocator */ #ifndef __MPETOOLS#define __MPETOOLS#include <stdio.h>#ifdef HAVE_STDLIB_H#include <stdlib.h>#endif#define MALLOC(a) malloc((unsigned)(a))#define FREE(a) free((char *)(a))#define CALLOC(a,b) calloc((unsigned)(a),(unsigned)(b))#define REALLOC(a,b) realloc(a,(unsigned)(b))#define NEW(a) (a *)MALLOC(sizeof(a))#define MEMSET(s,c,n) memset((char*)(s),c,n)#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -