mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Document new PNG_ABORT behavior in libpng-1.7.x
This commit is contained in:
@@ -748,10 +748,10 @@ png_longjmp,(png_const_structrp png_ptr, int val),PNG_NORETURN)
|
||||
png_ptr->longjmp_fn(*png_ptr->jmp_buf_ptr, val);
|
||||
#endif
|
||||
|
||||
/* It is an error if control reaches this point, because png_longjmp must not
|
||||
* return the only choice is to terminate the whole process (or maybe
|
||||
* thread), to do this the ANSI-C abort() function is used unless a different
|
||||
* method is implemented by overriding the default configuration setting for
|
||||
/* If control reaches this point, png_longjmp() must not return. The only
|
||||
* choice is to terminate the whole process (or maybe the thread); to do
|
||||
* this the ANSI-C abort() function is used unless a different method is
|
||||
* implemented by overriding the default configuration setting for
|
||||
* PNG_ABORT (see scripts/pnglibconf.dfa).
|
||||
*
|
||||
* API change: prior to 1.7.0 PNG_ABORT was invoked as a function type macro
|
||||
|
||||
Reference in New Issue
Block a user