yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze_errors.h
Go to the documentation of this file.
1#ifndef YAZE_ERRORS_H
2#define YAZE_ERRORS_H
3
9#ifdef __cplusplus
10extern "C" {
11#endif
12
29
36const char* yaze_status_to_string(yaze_status status);
37
38#ifdef __cplusplus
39}
40#endif
41
42#endif // YAZE_ERRORS_H
yaze_status
Status codes returned by YAZE functions.
Definition yaze_errors.h:19
@ YAZE_OK
Definition yaze_errors.h:20
@ YAZE_ERROR_CORRUPTION
Definition yaze_errors.h:26
@ YAZE_ERROR_IO
Definition yaze_errors.h:25
@ YAZE_ERROR_FILE_NOT_FOUND
Definition yaze_errors.h:23
@ YAZE_ERROR_INVALID_ARG
Definition yaze_errors.h:22
@ YAZE_ERROR_MEMORY
Definition yaze_errors.h:24
@ YAZE_ERROR_NOT_INITIALIZED
Definition yaze_errors.h:27
@ YAZE_ERROR_UNKNOWN
Definition yaze_errors.h:21
const char * yaze_status_to_string(yaze_status status)
Convert a status code to a human-readable string.
Definition yaze.cc:41