BitMiracle.LibJpeg.Classic.jpeg_error_mgr.reset_error_mgr C# (CSharp) Method

reset_error_mgr() public method

Resets error manager to initial state.
This is called during compression startup to reset trace/error processing to default state. An application might possibly want to override this method if it has additional error processing state.
public reset_error_mgr ( ) : void
return void
        public virtual void reset_error_mgr()
        {
            m_num_warnings = 0;

            /* trace_level is not reset since it is an application-supplied parameter */

            // may be useful as a flag for "no error"
            m_msg_code = 0;
        }