Fold LIBC_UNICODE into LIBC_STR

This commit is contained in:
Justine Tunney 2022-08-13 08:42:32 -07:00
parent 17aea99bb3
commit 367d06d9e4
173 changed files with 170 additions and 355 deletions

View file

@ -29,8 +29,8 @@
*/
#include "libc/errno.h"
#include "libc/fmt/fmt.h"
#include "libc/unicode/locale.h"
#include "libc/unicode/unicode.h"
#include "libc/str/locale.h"
#include "libc/str/unicode.h"
#include "third_party/python/Modules/_decimal/libmpdec/bits.h"
#include "third_party/python/Modules/_decimal/libmpdec/constants.h"
#include "third_party/python/Modules/_decimal/libmpdec/io.h"

View file

@ -5,9 +5,9 @@
https://docs.python.org/3/license.html │
*/
#define PY_SSIZE_T_CLEAN
#include "libc/unicode/langinfo.h"
#include "libc/unicode/locale.h"
#include "libc/unicode/unicode.h"
#include "libc/str/langinfo.h"
#include "libc/str/locale.h"
#include "libc/str/unicode.h"
#include "third_party/python/Include/dictobject.h"
#include "third_party/python/Include/fileutils.h"
#include "third_party/python/Include/import.h"

View file

@ -9,7 +9,7 @@
#include "libc/errno.h"
#include "libc/stdio/stdio.h"
#include "libc/sysv/consts/s.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/bytesobject.h"
#include "third_party/python/Include/ceval.h"

View file

@ -14,8 +14,8 @@
#include "libc/sysv/consts/fd.h"
#include "libc/sysv/consts/fio.h"
#include "libc/sysv/consts/o.h"
#include "libc/unicode/locale.h"
#include "libc/unicode/unicode.h"
#include "libc/str/locale.h"
#include "libc/str/unicode.h"
#include "third_party/python/Include/bytesobject.h"
#include "third_party/python/Include/ceval.h"
#include "third_party/python/Include/fileutils.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#include "libc/math.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/complexobject.h"
#include "third_party/python/Include/fileutils.h"

View file

@ -6,7 +6,7 @@
*/
#include "libc/calls/calls.h"
#include "libc/stdio/stdio.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/python/Include/fileutils.h"
#include "third_party/python/Include/import.h"
#include "third_party/python/Include/pydebug.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#include "libc/calls/internal.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/boolobject.h"
#include "third_party/python/Include/codecs.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#include "libc/calls/internal.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/boolobject.h"
#include "third_party/python/Include/codecs.h"

View file

@ -14,7 +14,7 @@
#include "libc/runtime/runtime.h"
#include "libc/stdio/stdio.h"
#include "libc/sysv/consts/sig.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/python/Include/Python-ast.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/ast.h"

View file

@ -7,7 +7,7 @@
#include "libc/assert.h"
#include "libc/errno.h"
#include "libc/fmt/fmt.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/python/Include/dtoa.h"
#include "third_party/python/Include/object.h"
#include "third_party/python/Include/pyctype.h"

View file

@ -5,7 +5,7 @@
https://docs.python.org/3/license.html │
*/
#include "libc/stdio/stdio.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "third_party/python/Include/Python-ast.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/ast.h"

View file

@ -14,7 +14,7 @@
#include "libc/stdio/stdio.h"
#include "libc/sysv/consts/exit.h"
#include "libc/sysv/consts/s.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "libc/x/x.h"
#include "third_party/python/Include/abstract.h"
#include "third_party/python/Include/boolobject.h"

View file

@ -456,7 +456,6 @@ THIRD_PARTY_PYTHON_STAGE1_A_DIRECTDEPS = \
LIBC_SYSV_CALLS \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_UNICODE \
LIBC_X \
TOOL_BUILD_LIB \
THIRD_PARTY_DLMALLOC \
@ -1136,7 +1135,6 @@ THIRD_PARTY_PYTHON_STAGE2_A_DIRECTDEPS = \
LIBC_SYSV_CALLS \
LIBC_TIME \
LIBC_TINYMATH \
LIBC_UNICODE \
LIBC_X \
LIBC_ZIPOS \
NET_HTTPS \
@ -2056,7 +2054,6 @@ THIRD_PARTY_PYTHON_PYTEST_PYMAINS_DIRECTDEPS = \
LIBC_INTRIN \
LIBC_X \
LIBC_STR \
LIBC_UNICODE \
LIBC_STDIO \
LIBC_CALLS \
LIBC_RUNTIME \
@ -4288,7 +4285,6 @@ THIRD_PARTY_PYTHON_PYTHON_DIRECTDEPS = \
LIBC_STUBS \
LIBC_LOG \
LIBC_SYSV \
LIBC_UNICODE \
LIBC_X \
LIBC_ZIPOS \
THIRD_PARTY_GETOPT \
@ -4330,7 +4326,6 @@ THIRD_PARTY_PYTHON_FREEZE_DIRECTDEPS = \
LIBC_STR \
LIBC_STUBS \
LIBC_SYSV \
LIBC_UNICODE \
LIBC_X \
THIRD_PARTY_GETOPT \
THIRD_PARTY_XED \
@ -4370,7 +4365,7 @@ o/$(MODE)/third_party/python/chibicc.inc: \
libc/runtime/symbolic.h \
libc/stdio/stdio.h \
libc/str/str.h \
libc/unicode/unicode.h \
libc/str/unicode.h \
third_party/python/Include/Python.h \
third_party/python/Include/abstract.h \
third_party/python/Include/bltinmodule.h \

View file

@ -29,7 +29,7 @@
#include "libc/sysv/consts/prot.h"
#include "libc/sysv/consts/sig.h"
#include "libc/time/time.h"
#include "libc/unicode/locale.h"
#include "libc/str/locale.h"
#include "libc/x/x.h"
#include "third_party/linenoise/linenoise.h"
#include "third_party/python/Include/abstract.h"