mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #14993: Use standard "unsigned char" instead of a unsigned char bitfield
This commit is contained in:
parent
05cab75d59
commit
d7b7c7472b
3 changed files with 15 additions and 17 deletions
|
@ -901,12 +901,10 @@ typedef struct {
|
|||
/* minimum length of the buffer when overallocation is enabled,
|
||||
see _PyUnicodeWriter_Init() */
|
||||
Py_ssize_t min_length;
|
||||
struct {
|
||||
unsigned char overallocate:1;
|
||||
/* If readonly is 1, buffer is a shared string (cannot be modified)
|
||||
and size is set to 0. */
|
||||
unsigned char readonly:1;
|
||||
} flags;
|
||||
unsigned char overallocate;
|
||||
/* If readonly is 1, buffer is a shared string (cannot be modified)
|
||||
and size is set to 0. */
|
||||
unsigned char readonly;
|
||||
} _PyUnicodeWriter ;
|
||||
|
||||
/* Initialize a Unicode writer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue