Hi,

libgis defines

/* error codes */
#define G_FATAL_EXIT    0
#define G_FATAL_PRINT   1
#define G_FATAL_RETURN  2

These defines are used by a few functions, eg.
G_check_input_output_name(). Other candidates could eg.
Vect_open_old() and similar functions (eg. call G__error() when vector
map is not found). I would suggest to add G__error() and
G__set_error_code() just for internal use (see the attached path).

What do you think? Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Attachment: libgis_err_code.diff
Description: Binary data

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to