#include <libspectre/spectre-macros.h>
Go to the source code of this file.
Typedefs | |
typedef enum _SpectreStatus | SpectreStatus |
Enumerations | |
enum | _SpectreStatus { SPECTRE_STATUS_SUCCESS = 0, SPECTRE_STATUS_NO_MEMORY, SPECTRE_STATUS_LOAD_ERROR, SPECTRE_STATUS_DOCUMENT_NOT_LOADED, SPECTRE_STATUS_INVALID_PAGE, SPECTRE_STATUS_RENDER_ERROR, SPECTRE_STATUS_EXPORTER_ERROR, SPECTRE_STATUS_SAVE_ERROR } |
Functions | |
const char * | spectre_status_to_string (SpectreStatus status) |
typedef enum _SpectreStatus SpectreStatus |
Defines the error status of a Spectre object
enum _SpectreStatus |
Defines the error status of a Spectre object
const char* spectre_status_to_string | ( | SpectreStatus | status | ) |
Gets a textual description of the given status
status | the status whose textual description will be returned |