GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
imagery/alloc.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <grass/imagery.h>
Include dependency graph for imagery/alloc.c:

Go to the source code of this file.

Functions

void * I_malloc (size_t n)
 
void * I_realloc (void *b, size_t n)
 
int I_free (void *b)
 
double ** I_alloc_double2 (int a, int b)
 
intI_alloc_int (int a)
 
int ** I_alloc_int2 (int a, int b)
 
int I_free_int2 (int **x)
 
int I_free_double2 (double **x)
 
double *** I_alloc_double3 (int a, int b, int c)
 
int I_free_double3 (double ***x)
 

Function Documentation

double** I_alloc_double2 ( int  a,
int  b 
)

Definition at line 33 of file imagery/alloc.c.

References b, I_malloc(), n, and NULL.

Referenced by I_alloc_double3(), and I_cluster_exec_allocate().

double*** I_alloc_double3 ( int  a,
int  b,
int  c 
)

Definition at line 114 of file imagery/alloc.c.

References G_free(), I_alloc_double2(), n, and NULL.

int* I_alloc_int ( int  a)

Definition at line 54 of file imagery/alloc.c.

References I_malloc().

Referenced by I_cluster_exec_allocate().

int** I_alloc_int2 ( int  a,
int  b 
)

Definition at line 67 of file imagery/alloc.c.

References b, I_malloc(), n, and NULL.

int I_free ( void *  b)

Definition at line 24 of file imagery/alloc.c.

References G_free(), and NULL.

Referenced by I_cluster_exec_free().

int I_free_double2 ( double **  x)

Definition at line 100 of file imagery/alloc.c.

References G_free(), and NULL.

Referenced by I_cluster_exec_free(), and I_free_double3().

int I_free_double3 ( double ***  x)

Definition at line 137 of file imagery/alloc.c.

References G_free(), I_free_double2(), and NULL.

int I_free_int2 ( int **  x)

Definition at line 86 of file imagery/alloc.c.

References G_free(), and NULL.

void* I_malloc ( size_t  n)

Definition at line 6 of file imagery/alloc.c.

References b.

Referenced by I_alloc_double2(), I_alloc_int(), and I_alloc_int2().

void* I_realloc ( void *  b,
size_t  n 
)

Definition at line 16 of file imagery/alloc.c.

References b.