summaryrefslogtreecommitdiff
path: root/hex_editor_1k/zen.h
diff options
context:
space:
mode:
Diffstat (limited to 'hex_editor_1k/zen.h')
-rw-r--r--hex_editor_1k/zen.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/hex_editor_1k/zen.h b/hex_editor_1k/zen.h
new file mode 100644
index 0000000..cf7bd3f
--- /dev/null
+++ b/hex_editor_1k/zen.h
@@ -0,0 +1,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 \ No newline at end of file