Thread with 2 posts

jump to expanded post

the emotional rollercoaster of

๐Ÿ˜จ oh god how the hell do you implement va_list
๐Ÿ˜Œ ah itโ€™s just a void * pointing to the stack
๐Ÿ˜ฑ but the first few args can be passed in registers
๐Ÿ˜ฎ oh, the callee can just push them to the stack
๐Ÿคฏ โ€ฆand the arguments end up in the right order if you do!

Open thread at this post