Page Speed Optimization Libraries
1.13.35.1
|
Helper that manages the lifetime of the png_ptr and info_ptr. More...
#include "png_optimizer.h"
Public Types | |
enum | Type { READ, WRITE } |
Public Member Functions | |
ScopedPngStruct (Type type, MessageHandler *handler) | |
bool | valid () const |
bool | reset () |
png_structp | png_ptr () const |
png_infop | info_ptr () const |
Helper that manages the lifetime of the png_ptr and info_ptr.
bool pagespeed::image_compression::ScopedPngStruct::reset | ( | ) |
This will only return false as a result of a longjmp due to an unhandled libpng error.