1 /** 2 * @file lv_types.h 3 * 4 */ 5 6 #ifndef LV_TYPES_H 7 #define LV_TYPES_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 /********************* 18 * DEFINES 19 *********************/ 20 21 /********************** 22 * TYPEDEFS 23 **********************/ 24 25 /** 26 * LittlevGL error codes. 27 */ 28 enum { 29 LV_RES_INV = 0, /*Typically indicates that the object is deleted (become invalid) in the action 30 function or an operation was failed*/ 31 LV_RES_OK, /*The object is valid (no deleted) after the action*/ 32 }; 33 typedef uint8_t lv_res_t; 34 35 typedef unsigned long int lv_uintptr_t; 36 37 /********************** 38 * GLOBAL PROTOTYPES 39 **********************/ 40 41 /********************** 42 * MACROS 43 **********************/ 44 45 #ifdef __cplusplus 46 } /* extern "C" */ 47 #endif 48 49 #endif /*LV_TYPES_H*/ 50