This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
handy.h: add strEQs() and strNEs() for comparing to constant strings
authorYves Orton <demerphq@gmail.com>
Wed, 19 Oct 2016 08:30:44 +0000 (10:30 +0200)
committerYves Orton <demerphq@gmail.com>
Wed, 19 Oct 2016 11:27:59 +0000 (13:27 +0200)
commit62946e08d24766c73755a22909c985cbf0a1b970
tree386d2ae8e7017f1a045cac80648bf65bd29676a6
parent754f85ad23f74b8468a982af104f0975723e2343
handy.h: add strEQs() and strNEs() for comparing to constant strings

They use strncmp() and derive the length using STR_WITH_LEN style
tricks in the wrapper call.
handy.h