[gst-devel] The purpose of the reserved fields in many internal structures

José Alburquerque jaalburquerque at cox.net
Wed Feb 10 00:33:22 CET 2010


On Mon, 2010-02-08 at 08:31 +0100, Sebastian Dröge wrote: 
> It's there to allow later additions to those structures without breaking
> ABI. Look at GstBus' instance struct for example.
> 
> Without these reserved areas, additions to the structures would change
> their size, which would require recompilations of everything using them.
> In the case of the instance/class structs all subclasses' instance/class
> structs would increase in size too.

Thank you.  I suspected as much but wanted a definite confirmation of
what I suspected.

-- 
José






More information about the gstreamer-devel mailing list