GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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)
 
int * I_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

◆ I_alloc_double2()

double** I_alloc_double2 ( int  a,
int  b 
)

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

Referenced by I_cluster_exec_allocate().

◆ I_alloc_double3()

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

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

◆ I_alloc_int()

int* I_alloc_int ( int  a)

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

Referenced by I_cluster_exec_allocate().

◆ I_alloc_int2()

int** I_alloc_int2 ( int  a,
int  b 
)

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

◆ I_free()

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().

◆ I_free_double2()

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().

◆ 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.

◆ I_free_int2()

int I_free_int2 ( int **  x)

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

References G_free(), and NULL.

◆ I_malloc()

void* I_malloc ( size_t  n)

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

References b, and G_malloc.

◆ I_realloc()

void* I_realloc ( void *  b,
size_t  n 
)

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

References b, and G_realloc.