gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ x_e()

void x_e ( GReturn  rc)
inline

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.