commit | 5d56786eff3d367c8315b4f4d4c9d6fb02751b0e | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Sat Dec 24 09:12:00 2011 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Sat Dec 24 09:12:00 2011 -0600 |
tree | 6e2ebfea6de35727bcc852da13fea2bd5b2ced1e | |
parent | d7c22fb7ecfe0d533fc8f1783627803db07aab5e [diff] |
[libpng16] Implemented 'restrict' for png_info and png_struct. Added new "png_structrp" typedef. Because of the way libpng works both png_info and png_struct are always accessed via a single pointer. This means adding C99 'restrict' to the pointer gives the compiler some opportunity to optimize the code. This change allows that.