]> sigrok.org Git - libserialport.git/commit
Specialise RETURN_VALUE macro into RETURN_{INT,STRING,POINTER}.
authorMartin Ling <redacted>
Sun, 24 Aug 2014 12:30:34 +0000 (13:30 +0100)
committerMartin Ling <redacted>
Sun, 24 Aug 2014 12:31:20 +0000 (13:31 +0100)
commit9caa2e86aa14e347b0a274ac023d02582a217bc8
tree5dad68da1e3d459711f4d6e78b82ed9e49e0ad98
parent79a800463795e4114bc2f8d719c7f6d0cab49164
Specialise RETURN_VALUE macro into RETURN_{INT,STRING,POINTER}.

This avoids the need to pass the required format string on every
call and also eliminates the need for the non-standard typeof() call.
libserialport_internal.h
serialport.c