mpetools.h
来自「fortran并行计算包」· C头文件 代码 · 共 32 行
H
32 行
/* $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 + =
减小字号Ctrl + -
显示快捷键?