On Sun, 2007-12-09 at 23:20 +0100, Lars Luthman wrote: > On Sun, 2007-12-09 at 11:58 -0500, Dave Robillard wrote: > > On Sun, 2007-12-09 at 11:52 -0500, Dave Robillard wrote: > > > On Sun, 2007-12-09 at 15:06 +0000, Krzysztof Foltman wrote: > > > > Dave Robillard wrote: > > > > > Is this what we have for the event/buffer header, then? > > > > > http://svn.drobilla.net/lad/lv2/extensions/events/lv2_events.h > > > > > > > > > char data? why not char data[0]? > > > > > > Not standard C AFAIK. > > > > n/m, char data[] is C99. Guess that works. > > Not valid in C++.
Ah, that was it. Back to char we go. I was thinking maybe having it be char* would be convenient for events where the actual data is in some pool somewhere (ie being able to reuse this struct in that case would be handy), but I guess that could just be another event type? char* does cause confusion though, as this thread made painfully clear earlier... -DR- _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev