diff options
author | John Bowler <jbowler@acm.org> | 2011-12-24 09:12:00 -0600 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2011-12-24 09:12:00 -0600 |
commit | 5d56786eff3d367c8315b4f4d4c9d6fb02751b0e (patch) | |
tree | 6e2ebfea6de35727bcc852da13fea2bd5b2ced1e /pngdebug.h | |
parent | d7c22fb7ecfe0d533fc8f1783627803db07aab5e (diff) | |
download | libpng-5d56786eff3d367c8315b4f4d4c9d6fb02751b0e.tar.gz |
[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.
Diffstat (limited to 'pngdebug.h')
0 files changed, 0 insertions, 0 deletions