Skip to content

Commit

Permalink
Clarify in docs that sv_eq* don't handle operator overloading; point …
Browse files Browse the repository at this point in the history
…to the sv_streq* funcs instead
  • Loading branch information
leonerd committed Jan 27, 2022
1 parent da626ad commit 5b35c4c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sv.c
Expand Up @@ -8119,12 +8119,18 @@ Returns a boolean indicating whether the strings in the two SVs are
identical. Is UTF-8 and S<C<'use bytes'>> aware, handles get magic, and will
coerce its args to strings if necessary.

This function does not handle operator overloading. For a version that does,
see instead C<sv_streq>.

=for apidoc sv_eq_flags

Returns a boolean indicating whether the strings in the two SVs are
identical. Is UTF-8 and S<C<'use bytes'>> aware and coerces its args to strings
if necessary. If the flags has the C<SV_GMAGIC> bit set, it handles get-magic, too.

This function does not handle operator overloading. For a version that does,
see instead C<sv_streq_flags>.

=cut
*/

Expand Down

0 comments on commit 5b35c4c

Please sign in to comment.