[libpng17] Document new PNG_ABORT behavior in libpng-1.7.x

This commit is contained in:
Glenn Randers-Pehrson
2012-12-17 11:53:34 -06:00
parent 72389dec42
commit 3e23f45ba9
5 changed files with 52 additions and 12 deletions

View File

@@ -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