GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-8f83c24630
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 29 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 106 of file imagery/alloc.c.

◆ I_alloc_int()

int* I_alloc_int ( int  a)

Definition at line 49 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 62 of file imagery/alloc.c.

◆ I_free()

int I_free ( void *  b)

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

References b, G_free(), and NULL.

Referenced by I_cluster_exec_free().

◆ I_free_double2()

int I_free_double2 ( double **  x)

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

References G_free(), NULL, and x.

Referenced by I_cluster_exec_free(), and I_free_double3().

◆ I_free_double3()

int I_free_double3 ( double ***  x)

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

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

◆ I_free_int2()

int I_free_int2 ( int **  x)

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

References G_free(), NULL, and x.

◆ I_malloc()

void* I_malloc ( size_t  n)

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

References b, and G_malloc.

◆ I_realloc()

void* I_realloc ( void *  b,
size_t  n 
)

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

References b, and G_realloc.