GRASS 8 Programmer's Manual 8.6.0dev(2026)-55de52a352
Loading...
Searching...
No Matches
add_elem.c File Reference

Manage Library - Add element to the list. More...

#include <grass/gis.h>
#include "manage_local_proto.h"
Include dependency graph for add_elem.c:

Go to the source code of this file.

Functions

void M__add_element (const char *elem, const char *desc)
 Add element to the list.
 

Detailed Description

Manage Library - Add element to the list.

SPDX-FileCopyrightText: 2001-2011 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later

Author
Original author CERL

Definition in file add_elem.c.

Function Documentation

◆ M__add_element()

void M__add_element ( const char elem,
const char desc 
)

Add element to the list.

Parameters
elemelement name
descdescription of the element

Definition at line 22 of file add_elem.c.

References list::desc, list::element, G_realloc, G_store(), list::nelem, and nlist.

Referenced by M_read_list().