Skip to content

Commit 33fe65f

Browse files
Move the rest
1 parent c958c2a commit 33fe65f

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

Include/internal/pycore_unicodectype.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ extern "C" {
88
# error "this header requires Py_BUILD_CORE define"
99
#endif
1010

11+
extern int _PyUnicode_ToLowerFull(Py_UCS4 ch, Py_UCS4 *res);
12+
extern int _PyUnicode_ToTitleFull(Py_UCS4 ch, Py_UCS4 *res);
13+
extern int _PyUnicode_ToUpperFull(Py_UCS4 ch, Py_UCS4 *res);
14+
extern int _PyUnicode_ToFoldedFull(Py_UCS4 ch, Py_UCS4 *res);
15+
extern int _PyUnicode_IsCaseIgnorable(Py_UCS4 ch);
16+
extern int _PyUnicode_IsCased(Py_UCS4 ch);
17+
18+
// Export for 'unicodedata' shared extension.
1119
PyAPI_FUNC(int) _PyUnicode_IsXidStart(Py_UCS4 ch);
1220
PyAPI_FUNC(int) _PyUnicode_IsXidContinue(Py_UCS4 ch);
1321

Include/internal/pycore_unicodeobject.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,6 @@ _PyUnicodeWriter_WriteCharInline(_PyUnicodeWriter *writer, Py_UCS4 ch)
7474
return 0;
7575
}
7676

77-
78-
/* --- Characters Type APIs ----------------------------------------------- */
79-
80-
extern int _PyUnicode_ToLowerFull(Py_UCS4 ch, Py_UCS4 *res);
81-
extern int _PyUnicode_ToTitleFull(Py_UCS4 ch, Py_UCS4 *res);
82-
extern int _PyUnicode_ToUpperFull(Py_UCS4 ch, Py_UCS4 *res);
83-
extern int _PyUnicode_ToFoldedFull(Py_UCS4 ch, Py_UCS4 *res);
84-
extern int _PyUnicode_IsCaseIgnorable(Py_UCS4 ch);
85-
extern int _PyUnicode_IsCased(Py_UCS4 ch);
86-
8777
/* --- Unicode API -------------------------------------------------------- */
8878

8979
// Export for '_json' shared extension

0 commit comments

Comments
 (0)