mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
Fix #1460: incorrect type name for C++ macro
This commit is contained in:
parent
b196b2c400
commit
40595e4052
@ -59,7 +59,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define FUNC_PTR_CAST(v) reinterpret_cast<lv_style_prop_cb_t>(v)
|
||||
#define FUNC_PTR_CAST(v) reinterpret_cast<_lv_style_prop_xcb_t>(v)
|
||||
#else
|
||||
#define FUNC_PTR_CAST(v) (_lv_style_prop_xcb_t)v
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user