Pushing a NULL into g_async_queue



Hello all.

Is there some good reason for the prohibition on passing NULL data into
g_async_queue_push()? I checked the glib sources and the only reason I
could find is that data==NULL won't pass the g_return_if_fail(data)
test. What is the reason for this seemingly arbitrary limitation?

Thanks.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]