On Sat, Apr 6, 2013 at 6:27 PM, Martin Landa <[email protected]> wrote: > 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's your motivation for adding G__error() and G__set_error_code()? Are there problems with e.g. Vect_open_old()? Markus M > > What do you think? Martin > > -- > Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa > > _______________________________________________ > grass-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
