GRASS 8 Programmer's Manual  8.5.0dev(2025)-84cbb3b8c3
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
xmode.c File Reference
#include <stdlib.h>
#include <stdbool.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/calc.h>
Include dependency graph for xmode.c:

Go to the source code of this file.

Macros

#define SIZE_THRESHOLD   32
 

Functions

int f_mode (int argc, const int *argt, void **args)
 

Macro Definition Documentation

◆ SIZE_THRESHOLD

#define SIZE_THRESHOLD   32

Definition at line 13 of file xmode.c.

Function Documentation

◆ f_mode()

int f_mode ( int  argc,
const int *  argt,
void **  args 
)

Definition at line 60 of file xmode.c.

References CELL_TYPE, columns, E_ARG_LO, E_ARG_TYPE, G_malloc, IS_NULL_C, SET_NULL_C, and SIZE_THRESHOLD.