summaryrefslogtreecommitdiff
path: root/hex_editor_1k/zen.h
blob: cf7bd3f5101f1f60ccc33a0b4596661e2cdf7c71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef _ZEN_H
#define _ZEN_H

/*
shortenings
*/
#define F(A,B,C) for((A);(B);(C))
//number based for cycle
#define FI(A,B,C,D) for(auto A=B;A<C;A+=D)
#define W(A) while((A))
#define D(A) do((A))
#define I(A) if((A))
#define E() else
#define EI(A) else if ((A))
#define G(A) goto(A)
#define L(A) A:
#define T(A) typedef A
#define B break
#define S(A) switch(A)
#define C(A) case A
#define M(A,B) main(int A, char **B)
#define DF default
#define TD(A,B) typedef struct A {B} A

/*

*/

#endif