|
OpFlex Framework
1.5.0
|
C wrapper core defininitions. More...
#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | OF_ESUCCESS 0 |
| A successful error return. | |
| #define | OF_EFAILED 1 |
| A generic failure code. | |
| #define | OF_EMEMORY 2 |
| A failure caused by problems related to memory allocation. | |
| #define | OF_ELOGIC 10 |
| A generic logic error caused by errors in the user logic. | |
| #define | OF_EOUTOFRANGE 11 |
| You have requested data that is not available or is out of range for the requested type. | |
| #define | OF_EINVALID_ARG 12 |
| An argument to the function was invalid. | |
| #define | OF_ERUNTIME 10 |
| A generic runtime error. | |
| #define | OF_IS_SUCCESS(statusc) ((statusc) == OF_ESUCCESS) |
| Check whether a status code is successful. | |
| #define | OF_IS_FAILURE(statusc) (!OF_IS_SUCCESS(statusc)) |
| Check whether a status code is failed. | |
Typedefs | |
| typedef int | ofstatus |
| An opflex status code. | |
| typedef void * | ofobj_p |
| Base type for all OpFlex object pointers. | |
| typedef uint64_t | class_id_t |
| A unique class ID. | |
C wrapper core defininitions.