VIP: Volume Image Processing


dyn_alloc.h File Reference
#include <stddef.h>
Include dependency graph for dyn_alloc.h:

Go to the source code of this file.

Macros

#define OK   0
 
#define ERROR   1
 

Functions

int Alloc1Dim (void **T, size_t size_type, int lendim)
 
int Alloc2Dim (void ***T, size_t size_type, int len1dim, int len2dim)
 
int Alloc3Dim (void ****T, size_t size_type, int len1dim, int len2dim, int len3dim)
 
int Alloc4Dim (void *****T, size_t size_type, int len1dim, int len2dim, int len3dim, int len4dim)
 
void Free1Dim (void *T)
 
void Free2Dim (void **T, int len1dim)
 
void Free3Dim (void ***T, int len1dim, int len2dim)
 
void Free4Dim (void ****T, int len1dim, int len2dim, int len3dim)
 
int Realloc1Dim (void **T, size_t size_type, int lendim)
 

Macro Definition Documentation

◆ ERROR

#define ERROR   1

Definition at line 5 of file dyn_alloc.h.

◆ OK

#define OK   0

Definition at line 4 of file dyn_alloc.h.

Function Documentation

◆ Alloc1Dim()

int Alloc1Dim ( void ** T,
size_t size_type,
int lendim )

◆ Alloc2Dim()

int Alloc2Dim ( void *** T,
size_t size_type,
int len1dim,
int len2dim )

◆ Alloc3Dim()

int Alloc3Dim ( void **** T,
size_t size_type,
int len1dim,
int len2dim,
int len3dim )

◆ Alloc4Dim()

int Alloc4Dim ( void ***** T,
size_t size_type,
int len1dim,
int len2dim,
int len3dim,
int len4dim )

◆ Free1Dim()

void Free1Dim ( void * T)

◆ Free2Dim()

void Free2Dim ( void ** T,
int len1dim )

◆ Free3Dim()

void Free3Dim ( void *** T,
int len1dim,
int len2dim )

◆ Free4Dim()

void Free4Dim ( void **** T,
int len1dim,
int len2dim,
int len3dim )

◆ Realloc1Dim()

int Realloc1Dim ( void ** T,
size_t size_type,
int lendim )