fix(build) fix micropython build error

This commit is contained in:
Gabor Kiss-Vamosi
2021-09-03 15:33:07 +02:00
parent 4eddeb35ab
commit 54338f6e57
+5 -5
View File
@@ -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.
* @param obj pointer to an object
* @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
* @return true if any event handlers were removed
* @param obj pointer to an object
* @param event_cb the event function to remove, or `NULL` only `user_data` matters.
* @param event_user_data the user_data specified in ::lv_obj_add_event_cb
* @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.