diff options
author | Karl Williamson <khw@cpan.org> | 2016-09-10 22:24:48 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-09-17 21:10:49 -0600 |
commit | 085b753446f9c21f09e86beb916fb5b857faf36d (patch) | |
tree | 7f7252f400d7cc2044a083376964ce410913904f /handy.h | |
parent | f2bf18ccb4cce9b47fd2180d0348f08e8cbbd663 (diff) | |
download | perl-085b753446f9c21f09e86beb916fb5b857faf36d.tar.gz |
handy.h: Comment memEQs and memNEs
Diffstat (limited to 'handy.h')
-rw-r--r-- | handy.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -489,6 +489,7 @@ Returns zero if non-equal, or non-zero if equal. # define memEQ(s1,s2,l) (!bcmp(s1,s2,l)) #endif +/* memEQ and memNE where second comparand is a string constant */ #define memEQs(s1, l, s2) \ (sizeof(s2)-1 == l && memEQ(s1, ("" s2 ""), (sizeof(s2)-1))) #define memNEs(s1, l, s2) !memEQs(s1, l, s2) |