I want to create a function void vec2_from_vec3(vec2 res, vec3 from) in pure C, using operator ## like so:
#define MAGIC_MACROS(n) \
void vec##(n-1)##_from_vec##n##(vec##(n-1) res, vec##n from);
but compiler woudn't let it. Is it possible?
Inspired by https://github.com/datenwolf/linmath.h/blob/master/linmath.h