Commits
Note: To verify signed commits locally, download the allowed signers file and run: git -c gpg.format=ssh -c gpg.ssh.allowedSignersFile=allowed_signers verify-commit
- fixed and reworked cutils_memmem() and added more tests for string_find_str()
- added anonymous unions&struct access in linked list for c11 added internal, always defined macro definitions added debug assert added endianess check moved nethost conversion and timespec to ms to header (can be completly optimized away) added 16 and 64 bit nethost conversions fixed linked list and added circular linked support
- Merge branch 'master' of https://github.com/marcschulze98/libcutils
- added some macros to misc.h, added malloc check to cutil_asprintf(), optimized cutil_memmem(), changed cutil_strdup to a macro
- fixed bytearray macros
- changed signature of delete_string() (for easier usage as rmv function) added string_cmp_cstr() added string_split() + tests added casts to macros changed name of ntoh32() to nethost32() (because it works both ways) removed bounds check in insert functions fixed bugs in string_concat() and from_cstring_reuse()
- changed bit functions, added timespec compare functions, changed timespec_diff, reworked some code to not give warnings
- moved the convenience macros of vector/bytearray/string to bottom, added math.h/.c with isqrt(), ipow(), is_prime(), primesieve(), added tests, fixed bug in reallocarray_inc() and string_cmp, use memchr for string_find_char(),
- added overflow-safe grow functions
- added null-terminate option for strings
- added from_cstring_reuse(), added string_cmp(), string_move() + tests
- added memmem to extensions
- moved remove and at functions to headers, improved remove_range functions, added string_strip + string_count, updated tests
- changed naming form extension functions, added strnlen, str[n]dup and asprintf, added bitfuncs.h, changed find functions, added typedefs in misc.h
- fix backport.h
- Update README.md
- Update README.md
- Merge branch 'master' of https://github.com/marcschulze98/libcutils
- change resize functions to handle overflow gravefully, added backport header for C89 types and macros, moved some functions to extensions.c/.h
- fixed SIZE_MAX macro