(no title)
seanwessmith | 6 months ago
Desktop gcc main.c
Desktop ./a.out
entities[0].a = 1
entities[0].a = 1
entities[1].a = 2seanwessmith | 6 months ago
Desktop gcc main.c
Desktop ./a.out
entities[0].a = 1
entities[0].a = 1
entities[1].a = 2
jovial_cavalier|6 months ago
https://gist.github.com/fpf3/71c72e224e1c82d9a5d37be621def42...
The errors make sense. You can't put a comma-separated initializer into a macro... What even is the symbol `entity`? It's not even clear to me what is meant by that, he doesn't define it anywhere.
edit: Looks like he updated his header since I first tried to compile. Now it works fine but the header looks significantly more complicated.