diff options
author | Karl Williamson <khw@cpan.org> | 2017-06-09 11:44:58 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-06-14 11:08:24 -0600 |
commit | 41ae60897350f0b7028765b91dead2d244b1176f (patch) | |
tree | 272defc110874b3eeb4b26d7906a72471b16962e /embed.fnc | |
parent | 74102a88afc9d8f1973892ce66cf9a83e79d043a (diff) | |
download | perl-41ae60897350f0b7028765b91dead2d244b1176f.tar.gz |
bytes_from_utf8(): parameter must not be NULL
The function assumes that the parameter is not NULL. Declare that to
embed.fnc. Also change the name to indicate that it is a pointer.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1792,7 +1792,7 @@ AipdRn |U8* |utf8_hop_safe |NN const U8 *s|SSize_t off|NN const U8 *start|NN con ApMd |U8* |utf8_to_bytes |NN U8 *s|NN STRLEN *lenp Apd |int |bytes_cmp_utf8 |NN const U8 *b|STRLEN blen|NN const U8 *u \ |STRLEN ulen -ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *lenp|NULLOK bool *is_utf8 +ApMd |U8* |bytes_from_utf8|NN const U8 *s|NN STRLEN *lenp|NN bool *is_utf8p ApMd |U8* |bytes_to_utf8 |NN const U8 *s|NN STRLEN *lenp ApdD |UV |utf8_to_uvchr |NN const U8 *s|NULLOK STRLEN *retlen ApdD |UV |utf8_to_uvuni |NN const U8 *s|NULLOK STRLEN *retlen |