diff options
Diffstat (limited to 'src/defs.h')
-rw-r--r-- | src/defs.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -9,14 +9,15 @@ #include <stdint.h> #include <sys/types.h> #include <rin/diagnostic.h> +#include <rin/definitions.h> #define try_s(a,l) do {\ - if(a) {\ + if(unlikely(a)) {\ goto l;\ }} while (0); #define try(a,l,e,m,...) do {\ - if(a) {\ + if(unlikely(a)) {\ ret = e;\ rin_err(m __VA_OPT__(,) __VA_ARGS__);\ goto l;\ |