fix(obj): fixed warning when using clang compiler on macOS (#3960)

Signed-off-by: W-Mai <1341398182@qq.com>
This commit is contained in:
W-Mai
2023-02-01 18:39:54 +08:00
committed by GitHub
parent 9424741e54
commit aaa1b3880e
+3
View File
@@ -27,8 +27,11 @@ extern "C" {
**********************/
/*Can't include lv_obj.h because it includes this header file*/
struct _lv_obj_t;
#ifndef LV_OBJ_H
typedef uint32_t lv_part_t;
typedef uint16_t lv_state_t;
#endif
typedef enum {
_LV_STYLE_STATE_CMP_SAME, /*The style properties in the 2 states are identical*/