SERIAL++ library: simple serial port access

◆ SERIALPORT_assert

#define SERIALPORT_assert (   C,
 
)    SERIALPORT_Xassert( C , M , serialport::Exception )

Check an assertion and report by throwing an exception.

Parameters
Cassert condition
Mmessage of type char*

Definition at line 144 of file error.h.

Referenced by serialport::SerialPort::SerialPort(), serialport::SerialPort::write(), and serialport::SerialPort::~SerialPort().