mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 00:51:49 +08:00
fix(build) fix micropython build error
This commit is contained in:
+5
-5
@@ -221,12 +221,12 @@ bool lv_obj_remove_event_cb(struct _lv_obj_t * obj, lv_event_cb_t event_cb);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Remove an event handler function with a specific user_data from an object.
|
* Remove an event handler function with a specific user_data from an object.
|
||||||
* @param obj pointer to an object
|
* @param obj pointer to an object
|
||||||
* @param event_cb the event function to remove, or `NULL` only `user_data` matters.
|
* @param event_cb the event function to remove, or `NULL` only `user_data` matters.
|
||||||
* @param user_data the user_data specified in ::lv_obj_add_event_cb
|
* @param event_user_data the user_data specified in ::lv_obj_add_event_cb
|
||||||
* @return true if any event handlers were removed
|
* @return true if any event handlers were removed
|
||||||
*/
|
*/
|
||||||
bool lv_obj_remove_event_cb_with_user_data(struct _lv_obj_t * obj, lv_event_cb_t event_cb, const void * user_data);
|
bool lv_obj_remove_event_cb_with_user_data(struct _lv_obj_t * obj, lv_event_cb_t event_cb, const void * event_user_data);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DEPRACTED because doesn't work if multiple event handlers are added to an object.
|
* DEPRACTED because doesn't work if multiple event handlers are added to an object.
|
||||||
|
|||||||
Reference in New Issue
Block a user