This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
parts/inc/utf8: Symbols are not really for external use
authorKarl Williamson <khw@cpan.org>
Tue, 6 Aug 2019 22:53:37 +0000 (16:53 -0600)
committerNicolas R <atoomic@cpan.org>
Fri, 27 Sep 2019 22:51:28 +0000 (16:51 -0600)
This used __UNDEFINED__ to define a bunch of constants.  However, there
is nothing backported that allows the user to specify any of these, so
there is no need for them to be publicly accessible.  And, if something
is important enough to be backported, it ought to be documented.  These
symbols should not be documented, so __UNDEFINED__ is not the proper way
to deal with them.

(cherry picked from commit 359209af4e95548cbd7291128549ce2071e8e555)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/parts/inc/utf8

index 7b781e4..a87537e 100644 (file)
@@ -15,18 +15,18 @@ __UNDEFINED__ UNICODE_REPLACEMENT  0xFFFD
 __UNDEFINED__  UTF8_MAXBYTES   UTF8_MAXLEN
 #endif
 
-__UNDEFINED__  UTF8_ALLOW_ANYUV                 0
-__UNDEFINED__  UTF8_ALLOW_EMPTY            0x0001
-__UNDEFINED__  UTF8_ALLOW_CONTINUATION     0x0002
-__UNDEFINED__  UTF8_ALLOW_NON_CONTINUATION 0x0004
-__UNDEFINED__  UTF8_ALLOW_SHORT            0x0008
-__UNDEFINED__  UTF8_ALLOW_LONG             0x0010
-__UNDEFINED__  UTF8_ALLOW_OVERFLOW         0x0080
-__UNDEFINED__  UTF8_ALLOW_ANY            ( UTF8_ALLOW_CONTINUATION      \
-                                          |UTF8_ALLOW_NON_CONTINUATION  \
-                                          |UTF8_ALLOW_SHORT             \
-                                          |UTF8_ALLOW_LONG              \
-                                          |UTF8_ALLOW_OVERFLOW)
+__UNDEF_NOT_PROVIDED__ UTF8_ALLOW_ANYUV                 0
+__UNDEF_NOT_PROVIDED__ UTF8_ALLOW_EMPTY            0x0001
+__UNDEF_NOT_PROVIDED__ UTF8_ALLOW_CONTINUATION     0x0002
+__UNDEF_NOT_PROVIDED__ UTF8_ALLOW_NON_CONTINUATION 0x0004
+__UNDEF_NOT_PROVIDED__ UTF8_ALLOW_SHORT            0x0008
+__UNDEF_NOT_PROVIDED__ UTF8_ALLOW_LONG             0x0010
+__UNDEF_NOT_PROVIDED__ UTF8_ALLOW_OVERFLOW         0x0080
+__UNDEF_NOT_PROVIDED__ UTF8_ALLOW_ANY  ( UTF8_ALLOW_CONTINUATION      \
+                                        |UTF8_ALLOW_NON_CONTINUATION  \
+                                        |UTF8_ALLOW_SHORT             \
+                                        |UTF8_ALLOW_LONG              \
+                                        |UTF8_ALLOW_OVERFLOW)
 
 #if defined UTF8SKIP