aboutsummaryrefslogtreecommitdiff
path: root/inc/_.h
blob: 650db1613435cc8685edabd6be809124f930b22a (plain)
1
2
3
4
5
6
7
#pragma once

#define auto __auto_type
#define foreach(E, L) for (auto E = (L); E != NULL; E = E->next)
#define forloop(I, F, T) for (auto I = F; I < T; I++)
#define with(I, T) auto I = (T); if (I)
#define plog(...) printf("\x1b[94mLOG %s:%s:%d\x1b[0m \t", __FILE__, __FUNCTION__, __LINE__), printf(__VA_ARGS__), putchar('\n')