summaryrefslogtreecommitdiff
path: root/pngdebug.h
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2011-12-24 09:12:00 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-12-24 09:12:00 -0600
commit5d56786eff3d367c8315b4f4d4c9d6fb02751b0e (patch)
tree6e2ebfea6de35727bcc852da13fea2bd5b2ced1e /pngdebug.h
parentd7c22fb7ecfe0d533fc8f1783627803db07aab5e (diff)
downloadlibpng-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