_PyBytesWriter: rename size attribute to min_size

This commit is contained in:
Victor Stinner 2015-10-09 12:37:03 +02:00
parent fa7762ec06
commit 53926a1ce2
2 changed files with 10 additions and 9 deletions

View file

@ -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;