GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
|
GIS Library - Error handlers. More...
#include <stddef.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
void | G_add_error_handler (void(*func)(void *), void *closure) |
Add new error handler. | |
void | G_remove_error_handler (void(*func)(void *), void *closure) |
Remove existing error handler. | |
void | G__call_error_handlers (void) |
Call available error handlers (internal use only) | |
GIS Library - Error handlers.
(C) 2010-2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file handler.c.
void G__call_error_handlers | ( | void | ) |
Call available error handlers (internal use only)
Definition at line 102 of file handler.c.
Referenced by G_fatal_error().
void G_add_error_handler | ( | void(* | func )(void *), |
void * | closure ) |
Add new error handler.
Example
func | handler to add |
closure | pointer to closure data |