Re:Templating in C
by marvy on Saturday February 28, 2015 @05:06PM
(#9125227)
why do you need malloc here?
[ Parent
| on HN ]
Looking the PDF over again you don't need malloc, that was a quirk of our implementation. We had separated public/private structs, meaning private variables were inaccessible by non-class methods (and thus also unable to be instantiated statically by other code modules.)
(Our implementation was not very good.)