Img2Num C
API Documentation
img2num_error_t.h
Go to the documentation of this file.
1 #ifndef CIMG2NUM_ERROR_T_H
2 #define CIMG2NUM_ERROR_T_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 // Matches the `core` library's error codes
9 typedef enum {
16 
18 const char* img2num_get_last_error_message();
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 
25 #endif // IMG2NUM_ERROR_T_H
img2num_error_t img2num_get_last_error()
img2num_error_t
@ IMG2NUM_ERROR_RUNTIME
@ IMG2NUM_ERROR_BAD_ALLOC
@ IMG2NUM_OK
@ IMG2NUM_ERROR_INVALID_ARGUMENT
@ IMG2NUM_ERROR_UNKNOWN
void img2num_clear_last_error()
const char * img2num_get_last_error_message()