This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add memBEGINs(), memENDs() and use them in APItest
authorKarl Williamson <khw@cpan.org>
Tue, 31 Oct 2017 18:11:12 +0000 (12:11 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 6 Nov 2017 19:50:05 +0000 (12:50 -0700)
commitbdb7e3f0f6e41516d2c50d43e5f3f1373db014b0
treee4df1a5eaccf25e2de3d8efc81351ab65659f79a
parentf55ac4a45513e50ae06769ee748ea079c9577a7f
Add memBEGINs(), memENDs() and use them in APItest

memBEGINs() is like strBEGINs(), but can be used for buffers without
trailing NULs.  It can also be used when there is a trailing NUL, and
the length is known, as it should be somewhat faster, only having to
check for one ending condition.

Same for memENDs vs strENDs
ext/XS-APItest/APItest.xs
handy.h