Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove RZ_NULLABLE from RzSearchFindBytesCallback function pointer type #4929

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading