When gdk_pixbuf_loader_write() returns FALSE



Hi,

The documentation for gdk_pixbuf_loader_write() states:

It will return TRUE if the data was loaded successfully, and FALSE if an error occurred.
In the latter case, the loader will be closed, and will not accept further writes.

What does the expression "will not accept further writes" mean? Does it mean

a) If gdk_pixbuf_loader_write() is called after previous call of
gdk_pixbuf_loader_write() has returned FALSE, then behaviour is
undefined

or

b) If gdk_pixbuf_loader_write() return FALSE, then further calls of
gdk_pixbuf_loader_write() are allowed(e.g, the function simply returns FALSE)?

-- 
Andrey Tsyvarev
 
 Linux Verification Center, ISPRAS
 web:    http://www.linuxtesting.org
 e-mail: tsyvarev ispras ru




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