http://gitshn5x75sgs53q3pxwjva2z65ns5vadx3h7u3hrdssbxsova66cxid.onion/S.O.N.G/Hibiki/commit/893bfbf1397d5347703fa8543fb1ab1f6fb3c20b
. */ // // Double Ended Queue // # ifndef T # error "Template type T undefined for <deq.h>" # endif # ifndef __CTL_H__ # define __CTL_H__ # include <stdlib.h> # include <stdint.h> # define CAT(a, b) a##b # define PASTE(a, b) CAT(a, b) # define JOIN(prefix, name) PASTE(prefix, PASTE(_, name)) # define SWAP(TYPE, a, b) { TYPE temp = *(a); *(a) = *(b); *(b) = temp; } # define foreach(a, b, c) for(JOIN(a, it) c = JOIN(JOIN(a, it), each) (b); !