ocssw
V2022
|
allocate2d.c
void free2d_double(double **p)
Free a two-dimensional array created by allocate2d_double.
Definition: allocate2d.c:170
void free2d_schar(signed char **p)
Free a two-dimensional array created by allocate2d_schar.
Definition: allocate2d.c:86
void free2d_all_double(double **p, size_t length)
Free a two-dimensional array created by malloc'ing each row individually.
Definition: allocate2d.c:174
void free2d_short(short **p)
Free a two-dimensional array created by allocate2d_short.
Definition: allocate2d.c:114
void free2d_uchar(unsigned char **p)
Free a two-dimensional array created by allocate2d_uchar.
Definition: allocate2d.c:58
void free2d_all_short(short **p, size_t length)
Free a two-dimensional array created by malloc'ing each row individually.
Definition: allocate2d.c:118
signed char ** allocate2d_schar(size_t h, size_t w)
Allocate a two-dimensional array of type signed char of a given size.
Definition: allocate2d.c:69
void free2d_float(float **p)
Free a two-dimensional array created by allocate2d_float.
Definition: allocate2d.c:142
void free2d_char(char **p)
Free a two-dimensional array created by allocate2d_char.
Definition: allocate2d.c:30
unsigned char ** allocate2d_uchar(size_t h, size_t w)
Allocate a two-dimensional array of type unsigned char of a given size.
Definition: allocate2d.c:41
Utility functions for allocating and freeing two-dimensional arrays of various types.
void free2d_all_uchar(unsigned char **p, size_t length)
Free a two-dimensional array created by malloc'ing each row individually.
Definition: allocate2d.c:62
double ** allocate2d_double(size_t h, size_t w)
Allocate a two-dimensional array of type double of a given size.
Definition: allocate2d.c:153
short ** allocate2d_short(size_t h, size_t w)
Allocate a two-dimensional array of type short of a given size.
Definition: allocate2d.c:97
float ** allocate2d_float(size_t h, size_t w)
Allocate a two-dimensional array of type float of a given size.
Definition: allocate2d.c:125
void free2d_all_schar(signed char **p, size_t length)
Free a two-dimensional array created by malloc'ing each row individually.
Definition: allocate2d.c:90
void free2d_all_char(char **p, size_t length)
Free a two-dimensional array created by malloc'ing each row individually.
Definition: allocate2d.c:34
char ** allocate2d_char(size_t h, size_t w)
Allocate a two-dimensional array of type char of a given size.
Definition: allocate2d.c:13
void free2d_all_float(float **p, size_t length)
Free a two-dimensional array created by malloc'ing each row individually.
Definition: allocate2d.c:146