Skip to content

Commit

Permalink
Remove RZ_NULLABLE from RzSearchFindBytesCallback function pointer ty…
Browse files Browse the repository at this point in the history
…pe (#4929)

* Remove RZ_NULLABLE from RzSearchFindBytesCallback function pointer type

* Add doxygen for fopt param of RzSearchFindBytesCallback
  • Loading branch information
kazarmy authored Feb 25, 2025
1 parent c0ee897 commit 1d656af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion librz/search/search_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ typedef bool (*RzSearchIsEmptyCallback)(void *user);
/**
* \brief A callback checking a chunk of bytes if it matches the search criteria.
*
* \param fopt The find() search options.
* \param user The private user data.
* \param address The address associated with the given bytes.
* \param buffer The bytes buffer.
Expand All @@ -70,7 +71,7 @@ typedef bool (*RzSearchIsEmptyCallback)(void *user);
* \return True, if a match was found.
* \return False otherwise.
*/
typedef bool (*RzSearchFindBytesCallback)(RZ_NULLABLE RzSearchFindOpt *fopt, void *user, ut64 address, const RzBuffer *buffer, RZ_OUT RzThreadQueue *hits);
typedef bool (*RzSearchFindBytesCallback)(RzSearchFindOpt *fopt, void *user, ut64 address, const RzBuffer *buffer, RZ_OUT RzThreadQueue *hits);

/**
* \brief A callback to search a graph for a pattern.
Expand Down

0 comments on commit 1d656af

Please sign in to comment.