Re: [LAD] easiest way to serialize messages for sending over a ringbuffer?

From: Paul Davis <paul@email-addr-hidden>
Date: Tue Dec 13 2011 - 15:53:55 EET

On Mon, Dec 12, 2011 at 11:44 PM, Iain Duncan <iainduncanlists@email-addr-hidden> 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++ ?
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Dec 13 16:15:02 2011

This archive was generated by hypermail 2.1.8 : Tue Dec 13 2011 - 16:15:02 EET