Skip to content

Attempt to remove deprecated uvuni_to_utf8() #23466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions embed.fnc
Original file line number Diff line number Diff line change
Expand Up @@ -3847,8 +3847,6 @@ Admp |U8 * |uv_to_utf8_msgs|NN U8 *d \
|UV uv \
|UV flags \
|NULLOK HV **msgs
CDbp |U8 * |uvuni_to_utf8 |NN U8 *d \
|UV uv
EXdpx |bool |validate_proto |NN SV *name \
|NULLOK SV *proto \
|bool warn \
Expand Down
1 change: 0 additions & 1 deletion embed.h
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,6 @@
# define utf8_to_uvchr(a,b) Perl_utf8_to_uvchr(aTHX_ a,b)
# define utf8_to_uvuni(a,b) Perl_utf8_to_uvuni(aTHX_ a,b)
# define utf8n_to_uvuni(a,b,c,d) Perl_utf8n_to_uvuni(aTHX_ a,b,c,d)
# define uvuni_to_utf8(a,b) Perl_uvuni_to_utf8(aTHX_ a,b)
# endif
# if defined(PERL_CORE)
# define PerlLIO_dup2_cloexec(a,b) Perl_PerlLIO_dup2_cloexec(aTHX_ a,b)
Expand Down
8 changes: 0 additions & 8 deletions mathoms.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,6 @@ Perl_utf8_to_uvuni(pTHX_ const U8 *s, STRLEN *retlen)
return NATIVE_TO_UNI(valid_utf8_to_uvchr(s, retlen));
}

U8 *
Perl_uvuni_to_utf8(pTHX_ U8 *d, UV uv)
{
PERL_ARGS_ASSERT_UVUNI_TO_UTF8;

return uvoffuni_to_utf8_flags(d, uv, 0);
}

/*
=for apidoc_section $unicode
=for apidoc utf8n_to_uvuni
Expand Down
4 changes: 4 additions & 0 deletions pod/perldelta.pod
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,10 @@ well.

XXX

=item *

Removed the deprecated (since 5.32) function C<uvuni_to_utf8()>

=back

=head1 Selected Bug Fixes
Expand Down
6 changes: 0 additions & 6 deletions proto.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading