[Gstreamer-bugs] [Bug 123889] Changed - need padding in structs

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Tue Oct 7 02:21:49 PDT 2003


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=123889

Changed by rbultje at ronald.bitfreak.net.

--- shadow/123889	Mon Oct  6 15:48:45 2003
+++ shadow/123889.tmp.5937	Tue Oct  7 05:21:49 2003
@@ -23,6 +23,19 @@
 non-trivial structures.  Padding size is currently 4 void pointers.
 
 ------- Additional Comments From ds at schleef.org  2003-10-06 15:48 -------
 Created an attachment (id=20515)
 add padding
 
+
+------- Additional Comments From rbultje at ronald.bitfreak.net  2003-10-07 05:21 -------
+Hm, it looks good, but how do you want to extend this later? By using
+unions? i.e.:
+
+union {
+  GST_WHATEVER_PADDING,
+  actual_thing_goes_here
+} ext;
+
+? Or something else? Because if you make everything macros, actually
+implementing the extensions later will still require us to either use
+unions or to not use the macro. ;).




More information about the Gstreamer-bugs mailing list