Re: [PATCH v4 0/4] mem: extend with a few additional helpers similar to existing string-only functions
David Gibson <[email protected]> Mon, 7 Sep 2015 00:24:48 +1000
| Newsgroups | org.ozlabs.lists.ccan |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Sep 05, 2015 at 09:21:02PM -0400, Cody P Schafer wrote: > since v3: > > - fix memeq() return value > - add memends_str() helper > > since v2: > > - switch all the macros to static inline to avoid multiple evaluations of args > - add patch adding PURE_FUNCTION attributes > > since v1: > > - drop a patch that David pulled in > - add extra macro parens > - add blank lines after defintions > - covert memcchr's while loop to a for. > - change examples for mempbrkm and mempbrk to use '\0' in places > - fix spelling > - use memeq() even where we know the mem lengths are equal in memstarts() > - add a reviewed-by to the 2nd patch, no other changes to that patch. Looks good, I've applied this to the repository. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson _______________________________________________ ccan mailing list [email protected] https://lists.ozlabs.org/listinfo/ccan
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJV7EywAAoJEGw4ysog2bOSW08QAK8JSgePRMUtyen1tOMCvytt QZHZK2h1RcKLX01LlHNJJDmpAMa0duWArgLkpvEq92PdBrpAOM3n1gkPkAl57BsA 0rAgVilrhKNeQxW4nyWugUL2y9ZeMr+LNCqE6j5IUeYqPHLVfYkbKq2PLyQsh0b3 pocoqiA5eaWCdXdRm3GHtKo6+/M/k48mhNNCk8TUN2YD+6CgBR1IiQAmCTWzPVXM PWh/KYI/Ai9lNM2Kb+/Bqsy3Mcl7L+zTnUMx0jRJUCObT1EfW1KEn13odVJNmpoe nELsZvXR+ISptB8mUrTi6ItoI5ECgJnBvC1cZuk6pgRLVdLHTadJ5KDjbWntOOIZ 0UzhRljTi3LxDFp1rdyUTJ8cYazCYZLZgVnAA/ZbsVq/9U37qGj8OruiBrJ26oXC Myd0f4VfNBLmgipscYy6YYt9YCi/ESHjL/r968asQZZ0nAA7N6MKyulUgZd4D2hY n0q3N4L7UdpcO1m4T33pe5Rvvf+Fy64i3tQ8UO0QBxN6yzh0Y/23RQ3Daqu6vmYn o+jNZ0I2FAlv2onmVVlLwpxkYFzM/LiST7aGO6QJVFRXPi8EO7gKnJzllmGAlx+V 8P5STF3+63KNxpY2/l9xH6+bFi53zFT5ddEBcgD1GPCcz1qxRJpDIFLYKsvVe1ZG KJqrZH+9ILRhlMgcWDt/ =V+Lc -----END PGP SIGNATURE-----