malloc4.h
来自「压缩包内内容有:《遗传算法——理论、应用与软件实现》中所附源程序C或C++代码文」· C头文件 代码 · 共 79 行
H
79 行
/*******************************************
Header file for malloc4
*******************************************/
#ifndef _MALLOC4_H_
#define _MALLOC4_H_
#if __STDC__ || defined(__cplusplus)
#define P_(s) s
#define ANSI_FUNC
#else
#define P_(s) ()
#undef ANSI_FUNC
#endif
/* malloc4.c */
extern unsigned char *malloc1 P_((
unsigned int size
));
extern void free2 P_((
unsigned char **temp2
));
extern unsigned char **malloc2 P_((
int n2,
int n1
));
extern unsigned char **malloc2c P_((
int n2,
int n1
));
extern void free3 P_((
unsigned char ***temp3
));
extern unsigned char ***malloc3 P_((
int n3,
int n2,
int n1
));
extern unsigned char ***malloc3c P_((
int n3,
int n2,
int n1
));
extern void free4 P_((
unsigned char ****temp4
));
extern unsigned char ****malloc4c P_((
int n4,
int n3,
int n2,
int n1
));
extern unsigned char ****malloc4 P_((
int n4,
int n3,
int n2,
int n1
));
extern void getsize2 P_((
unsigned char **buf,
int *y_siz,
int *x_siz
));
extern void getsize3 P_((
unsigned char ***buf,
int *z_siz,
int *y_siz,
int *x_siz
));
extern void getsize4 P_((
unsigned char ****buf,
int *z_siz,
int *y_siz,
int *x_siz,
int *w_siz
));
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?