pdf-devel
[Top][All Lists]
Advanced

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

[pdf-devel] Error system


From: Gustavo Martin Domato
Subject: [pdf-devel] Error system
Date: Mon, 17 Oct 2011 18:59:12 -0300

Hi,

I noticed that routines dealing with possible memory exhaustion just
return an error value. This means that, for an unrecoverable error, we
must send the message all the way to the top, resulting in the library
informing it's user that not enough memory is available. 

Also notice that a change in a routine that suddenly inserts memory
management would imply that it's interface must change (and probably
it's caller's and so on).

I think this not only places an excessive burden on the programmer, but
makes the library difficult if not impossible to modify. Ideas?


Regards,
Gustavo.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]