mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +00:00
_PyBytesWriter: rename size attribute to min_size
This commit is contained in:
parent
fa7762ec06
commit
53926a1ce2
2 changed files with 10 additions and 9 deletions
|
@ -134,8 +134,9 @@ typedef struct {
|
|||
/* Number of allocated size */
|
||||
Py_ssize_t allocated;
|
||||
|
||||
/* Current size of the buffer (can be smaller than the allocated size) */
|
||||
Py_ssize_t size;
|
||||
/* Minimum number of allocated bytes,
|
||||
incremented by _PyBytesWriter_Prepare() */
|
||||
Py_ssize_t min_size;
|
||||
|
||||
/* If non-zero, overallocate the buffer (default: 0). */
|
||||
int overallocate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue