[Bug 711300] Take a const foo * when we can warrant this behavior

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 12 12:40:33 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=711300
  GStreamer | gstreamer (core) | git

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-11-12 20:40:26 UTC ---
There's a strict sense of modifying the buffer (which the compiler might care
about) , and a less strict sense (which the user might care about). Both are
not necessarily the same.

For example: we might want cache the size in future. This might involve writes
to the buffer struct in get_size(), but the user might not care about that
because it doesn't touch anything visible to her.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list