introduced CHECK_F

This commit is contained in:
Yann Collet committed 2016-09-06 15:36:19 +02:00
1 parent ff306ae2f6
commit 3e21ec5b01
3 files changed
+25 -43

No files matched your search

+2 -1
View File
@@ -42,10 +42,11 @@
/*-*************************************
* Common macros
* shared macros
***************************************/
#define MIN(a,b) ((a)<(b) ? (a) : (b))
#define MAX(a,b) ((a)>(b) ? (a) : (b))
#define CHECK_F(f) { size_t const errcod = f; if (ERR_isError(errcod)) return errcod; } /* check and Forward error code */
/*-*************************************