On Mon, Dec 12, 2011 at 11:44 PM, Iain Duncan <iainduncanlists(a)gmail.com> wrote:
Yup, what I'm talking about is being able to put a
data structure on to the
ring buffer. It needs be castable to a const *char, so the structure needs
a way to be converted to a string.
these two statements are not related. in an awful lot of C code,
"pointer to char" means "pointer". in newer better C code, one uses
void*. in newer, better code than that, one doesn't use raw pointers
much at all.
are you working in C or C++ ?