summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-03-07 15:31:58 -0700
committerKarl Williamson <khw@cpan.org>2019-03-12 10:01:30 -0600
commit465848b5c535041b50179c7fe361c169bd817143 (patch)
treeab802a8d2cedea5797087f6554e2a00846c70b6a /embed.fnc
parent526f2ca9d7c56ba5eaab5dd85f67f05cdd6cead6 (diff)
downloadperl-465848b5c535041b50179c7fe361c169bd817143.tar.gz
is_invlist(): Allow NULL input
For generality, it should allow a NULL and return FALSE.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 2f8dd63487..4b04389c20 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1742,7 +1742,7 @@ EMpX |SV* |invlist_clone |NN SV* const invlist|NULLOK SV* newlist
#endif
#if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_REGEXEC_C) || defined(PERL_IN_TOKE_C) || defined(PERL_IN_UTF8_C) || defined(PERL_IN_PP_C)
EiMRn |UV* |invlist_array |NN SV* const invlist
-EiMRn |bool |is_invlist |NN SV* const invlist
+EiMRn |bool |is_invlist |NULLOK SV* const invlist
EiMRn |bool* |get_invlist_offset_addr|NN SV* invlist
EiMRn |UV |_invlist_len |NN SV* const invlist
EMiRn |bool |_invlist_contains_cp|NN SV* const invlist|const UV cp