mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Changed png_struct jmp_buf member name to avoid clash with macro
This commit is contained in:
committed by
Glenn Randers-Pehrson
parent
20786be695
commit
e6dc85bb0b
4
libpng.3
4
libpng.3
@@ -1308,7 +1308,7 @@ handling and memory alloc/free functions.
|
||||
When libpng encounters an error, it expects to longjmp back
|
||||
to your routine. Therefore, you will need to call setjmp and pass
|
||||
your png_jmpbuf(png_ptr). If you read the file from different
|
||||
routines, you will need to update the jmpbuf field every time you enter
|
||||
routines, you will need to update the longjmp buffer every time you enter
|
||||
a new routine that will call a png_*() function.
|
||||
|
||||
See your documentation of setjmp/longjmp for your compiler for more
|
||||
@@ -4765,7 +4765,7 @@ absolutely necessary) interlace an image.
|
||||
|
||||
libpng 1.5.0 adds an API png_longjmp(png_ptr, value). This API calls
|
||||
the application-provided png_longjmp_ptr on the internal, but application
|
||||
initialized, jmpbuf. It is provided as a convenience to avoid the need
|
||||
initialized, longjmp buffer. It is provided as a convenience to avoid the need
|
||||
to use the png_jmpbuf macro, which had the unnecessary side effect of
|
||||
resetting the internal png_longjmp_ptr value.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user