Fix ctype.h and wctype.h

This commit is contained in:
Justine Tunney 2024-07-21 15:54:17 -07:00
parent e7be5a5e2b
commit 7ebaff34c6
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
180 changed files with 264 additions and 92 deletions

View file

@ -46,6 +46,7 @@
#include "third_party/python/Include/tupleobject.h"
#include "third_party/python/Include/yoink.h"
#include "third_party/python/Modules/_decimal/docstrings.h"
#include "libc/ctype.h"
#include "third_party/python/Modules/_decimal/libmpdec/mpdecimal.h"
PYTHON_PROVIDE("_decimal");

View file

@ -34,6 +34,7 @@
#include "third_party/python/Modules/_decimal/libmpdec/constants.h"
#include "third_party/python/Modules/_decimal/libmpdec/io.h"
#include "third_party/python/Modules/_decimal/libmpdec/mpdecimal.h"
#include "libc/ctype.h"
#include "third_party/python/Modules/_decimal/libmpdec/typearith.h"
__static_yoink("libmpdec_notice");

View file

@ -32,6 +32,7 @@
#include "third_party/python/Include/pystrhex.h"
#include "third_party/python/Include/structmember.h"
#include "third_party/python/Include/yoink.h"
#include "libc/ctype.h"
#include "third_party/python/Modules/hashlib.h"
PYTHON_PROVIDE("_hashlib");

View file

@ -26,6 +26,7 @@
#include "third_party/python/Include/pystrhex.h"
#include "third_party/python/Include/pystrtod.h"
#include "third_party/python/Include/sliceobject.h"
#include "libc/ctype.h"
#include "third_party/python/Include/warnings.h"
/*[clinic input]

View file

@ -9,6 +9,7 @@
#include "third_party/python/Include/objimpl.h"
#include "third_party/python/Include/pgenheaders.h"
#include "third_party/python/Include/pyerrors.h"
#include "libc/ctype.h"
#include "third_party/python/Include/token.h"
extern int Py_DebugFlag;

View file

@ -23,6 +23,7 @@
#include "third_party/python/Include/pymacro.h"
#include "third_party/python/Include/pymem.h"
#include "third_party/python/Include/sysmodule.h"
#include "libc/ctype.h"
#include "third_party/python/Include/unicodeobject.h"
#endif

View file

@ -49,6 +49,7 @@
#include "third_party/python/Include/unicodeobject.h"
#include "third_party/python/Include/yoink.h"
#include "libc/runtime/stack.h"
#include "libc/ctype.h"
#include "third_party/xed/x86.h"
STATIC_STACK_SIZE(0x100000);