Skip to content

Commit

Permalink
fix(build) fix micropython build error
Browse files Browse the repository at this point in the history
kisvegabor committed Sep 3, 2021
1 parent 4eddeb3 commit 54338f6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/lv_event.h
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 54338f6

Please sign in to comment.