A trivial, C++ style return code check used in Galil's examples and demos.
Throws GReturn if return value is not G_NO_ERROR. See x_examples.cpp for example usage and catch() handler.
Definition at line 30 of file x_examples.h.
References G_NO_ERROR, and vector().
Referenced by x_arrays(), x_dr_motioncomplete(), x_ei_motioncomplete(), x_gcommand(), x_ginterrupt(), x_gmessage(), x_gmotioncomplete(), x_gread_gwrite(), x_grecord(), x_nonblocking(), and x_programs().