debug
debug copied to clipboard
deprecate?
i just wrote debug.c which closes #7, #8 and #9. it's a completely different api though.
thoughts on deprecating this in favour of the newer (feature rich) impl?
Yeah go for it !
The implementations of the two are radically different. clib/debug is using macros (almost entirely) while stephenmathieson/debug.c uses functions.
I would use one over the other, subject to the answer to: Do I want debug statements compiled in, for a production-grade executable/library I am shipping? It would be nicer to offer the different implementations, don't you think?