call(
window, "draw: %d %d %p", x, y,
alloc("Circle radius: %d color: %u", r, 0xFF0000)
);
That ignores the return value and loses track of the temporary argument.This is all in response to the article claiming you "need to be Bjarne Stroustrup to add OOP to C, but it's a sophomore assignment to add it to Lisp". If I hadn't mentioned the GC, someone else would've jumped on the example for how unpleasant manual memory management is in comparison to Lisp.