GRASS 8 Programmer's Manual  8.5.0dev(2025)-71d952fbdd
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
xnmode.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 xnmode.c:

Go to the source code of this file.

Macros

#define SIZE_THRESHOLD   32
 

Functions

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

Macro Definition Documentation

◆ SIZE_THRESHOLD

#define SIZE_THRESHOLD   32

Definition at line 13 of file xnmode.c.

Function Documentation

◆ f_nmode()

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

Definition at line 60 of file xnmode.c.

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