[gst-devel] assert -> g_assert

David Schleef ds at schleef.org
Fri May 14 12:11:04 CEST 2004


On Fri, May 14, 2004 at 08:26:02PM +0200, Stéphane LOEUILLET wrote:
> hi ppl,
> 
> as i was looking gst code, i saw that some files where using g_assert
> while some others were using good old assert.
> 
> should we convert all of them to g_assert ?

Yes, assuming it's gstreamer-native code, not code we borrowed from
other projects.  Also check if assert()s should converted to
g_assert_not_reached(), or more likely, GST_ELEMENT_ERROR().



dave...





More information about the gstreamer-devel mailing list