[libpng16] Further revised documentation of png_get_error_ptr().
This commit is contained in:
parent
9b0170dd03
commit
92fcd25e9d
@ -4257,8 +4257,8 @@ parameters as follows:
|
|||||||
void user_warning_fn(png_structp png_ptr,
|
void user_warning_fn(png_structp png_ptr,
|
||||||
png_const_charp warning_msg);
|
png_const_charp warning_msg);
|
||||||
|
|
||||||
Then, within your error_fn, you can retrieve the error_ptr if
|
Then, within your user_error_fn or user_warning_fn, you can retrieve
|
||||||
you need it, by calling
|
the error_ptr if you need it, by calling
|
||||||
|
|
||||||
png_voidp error_ptr = png_get_error_ptr(png_ptr);
|
png_voidp error_ptr = png_get_error_ptr(png_ptr);
|
||||||
|
|
||||||
|
4
libpng.3
4
libpng.3
@ -4767,8 +4767,8 @@ parameters as follows:
|
|||||||
void user_warning_fn(png_structp png_ptr,
|
void user_warning_fn(png_structp png_ptr,
|
||||||
png_const_charp warning_msg);
|
png_const_charp warning_msg);
|
||||||
|
|
||||||
Then, within your error_fn, you can retrieve the error_ptr if
|
Then, within your user_error_fn or user_warning_fn, you can retrieve
|
||||||
you need it, by calling
|
the error_ptr if you need it, by calling
|
||||||
|
|
||||||
png_voidp error_ptr = png_get_error_ptr(png_ptr);
|
png_voidp error_ptr = png_get_error_ptr(png_ptr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user