debug icon indicating copy to clipboard operation
debug copied to clipboard

deprecate?

Open stephenmathieson opened this issue 10 years ago • 2 comments

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?

stephenmathieson avatar Oct 25 '14 02:10 stephenmathieson

Yeah go for it !

jwerle avatar Oct 25 '14 02:10 jwerle

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?

GochoMugo avatar Feb 05 '16 13:02 GochoMugo