Question on AsyncQueue push

In the doc for GLib.AsyncQueue.push, there is conflicting info on whether data can be NULL or not. The descriptions section says "data must not be NULL" while the parameters section says "The argument can be NULL". So can data be NULL?

The documentation is inconsistent because the data argument isn’t annotated correctly.

Yes: the data argument must not be NULL.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.