On Mon, Apr 12, 2010 at 10:28 PM, cpapado [via Software]
<[email protected]> wrote:
> Thanks for the reply Stefan,
>
> that memcpy() does not make much sense to me. I assume the aim is to append
> the stuff in extraData at the end of event. However, if you set the
> destination address as event + 1 arent you overwriting the data that belongs
> to ConfigEvent? Wouldnt the proper dst address for the memcpy be event +
> sizeof(configEvent) + 1?

No, since configEvent is of type ConfigEvent*. Incrementing a typed
pointer increments it by sizeof( type ) bytes.


HTH,

Stefan.

-- 
View this message in context: 
http://n2.nabble.com/Propagating-non-static-size-input-data-through-ConfigEvents-tp4753149p4896467.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to