[devel] Fixed mistake in the descriptions of user read_transform and

write_transform function prototypes in the manual.
The row_info struct should be of type png_row_infop.
This commit is contained in:
Glenn Randers-Pehrson
2011-02-13 19:42:19 -06:00
parent 67703b11fe
commit 93215674db
4 changed files with 34 additions and 30 deletions

View File

@@ -1,6 +1,6 @@
libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.5.2beta01 - February 13, 2011
libpng version 1.5.2beta02 - February 14, 2011
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2011 Glenn Randers-Pehrson
@@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.5.2beta01 - February 13, 2011
libpng versions 0.97, January 1998, through 1.5.2beta02 - February 14, 2011
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2011 Glenn Randers-Pehrson
@@ -1544,7 +1544,7 @@ with
You must supply the function
void read_transform_fn(png_structp png_ptr, row_info_ptr
void read_transform_fn(png_structp png_ptr, png_row_infop
row_info, png_bytep data)
See pngtest.c for a working example. Your function will be called
@@ -2812,8 +2812,8 @@ with
You must supply the function
void write_transform_fn(png_structp png_ptr ptr,
row_info_ptr row_info, png_bytep data)
void write_transform_fn(png_structp png_ptr, png_row_infop
row_info, png_bytep data)
See pngtest.c for a working example. Your function will be called
before any of the other transformations are processed. If supported
@@ -4114,13 +4114,13 @@ Other rules can be inferred by inspecting the libpng source.
XIV. Y2K Compliance in libpng
February 13, 2011
February 14, 2011
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
This is your unofficial assurance that libpng from version 0.71 and
upward through 1.5.2beta01 are Y2K compliant. It is my belief that earlier
upward through 1.5.2beta02 are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.
Libpng only has three year fields. One is a 2-byte unsigned integer that