pub unsafe extern "C" fn getErrorCodeList() -> TidyIterator
Expand description
Initiates an iterator for a list of message codes available in Tidy. This iterator allows you to iterate through all of the code. In orde to iterate through the codes, initiate the iterator with this function, and then use getNextErrorCode() to retrieve the first and subsequent codes. For example: @code{.c} TidyIterator itMessage = getErrorCodeList(); while ( itMessage ) { uint code = getNextErrorCode( &itMessage ); // do something with the code, such as lookup a string. } @endcode @result Returns a TidyIterator, which is a token used to represent the current position in a list within LibTidy.