|
TR_datastructures 0.1.0
A generic C data structures library
|
Library wide error code definitions for the tr_datastructures library. More...
Go to the source code of this file.
Typedefs | |
| typedef enum tr_result | tr_result_t |
| Library wide error code returned by all API functions. | |
Enumerations | |
| enum | tr_result { TR_OK = 0 , TR_ERR_NULL = 1 , TR_ERR_ALLOC = 2 , TR_ERR_EMPTY = 3 , TR_ERR_FULL = 4 , TR_ERR_INVALID = 5 , TR_ERR_NOT_FOUND = 6 , TR_ERR_DUPLICATE = 7 , TR_ERR_OUT_OF_RANGE = 8 } |
| Library wide error code returned by all API functions. More... | |
Library wide error code definitions for the tr_datastructures library.
| typedef enum tr_result tr_result_t |
Library wide error code returned by all API functions.
Every public API function returns a value of this type. TR_OK indicates success. Any other value indicates a specific failure condition that the caller should handle.
Example usage:
| enum tr_result |
Library wide error code returned by all API functions.
Every public API function returns a value of this type. TR_OK indicates success. Any other value indicates a specific failure condition that the caller should handle.
Example usage: