Gwyfile Library
Data Fields
GwyfileErrorList Struct Reference

List of errors. More...

Data Fields

GwyfileError ** errors
 Array holding the errors.
 
size_t n
 Number of errors in the list.
 

Detailed Description

List of errors.

GwyfileErrorList holds a list of errors. It is useful for non-fatal error handling such as file validity checking.

A new error list variable would be typically created on stack and initialized with gwyfile_error_list_init(). After the errors are no longer needed use gwyfile_error_list_clear() to clear the list, freeing all the errors. The variable can be then reused to gather another list of errors.

Since
1.1
Examples
checkgeneric.c.

The documentation for this struct was generated from the following files: