forked from haraldwolff/avr-fw-modules
4 lines
160 B
C
4 lines
160 B
C
|
#pragma once
|
||
|
|
||
|
#define require( value ) { int r = (value); if (r < 0) return r; }
|
||
|
#define tolerate( state, result ) { int r = (result); if (r < 0) state = r; }
|