Mon 16 Mar 11:09:06 CET 2026
This commit is contained in:
parent
61549a2841
commit
a21c6e22eb
16
src/utils.h
Normal file
16
src/utils.h
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
#ifndef _UTILS_H
|
||||||
|
#define _UTILS_H
|
||||||
|
|
||||||
|
#define DECR(x,n) x-=n
|
||||||
|
#define INCR(x,n) x+=n
|
||||||
|
|
||||||
|
#ifndef MAX
|
||||||
|
#define MAX(a,b) (a>b?a:b)
|
||||||
|
#endif
|
||||||
|
#ifndef MIN
|
||||||
|
#define MIN(a,b) (a<b?a:b)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// in error.c!
|
||||||
|
void error(reg_t *R,error_t e);
|
||||||
|
#endif
|
||||||
Loading…
Reference in New Issue
Block a user