We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Collections should also have a *_contains function that looks for values instead of pointers.
*_contains
bool equals(void *e1, void *e2) { int el1 = *((int*)e1); itn el2 = *((int*)e2); if (el1 == el2) return true; return false; } ... int a = 10; size_t count = array_contains(array, &a, equals);
The text was updated successfully, but these errors were encountered:
done
Sorry, something went wrong.
No branches or pull requests
Collections should also have a
*_contains
function that looks for values instead of pointers.The text was updated successfully, but these errors were encountered: