Kaydet (Commit) ba6d5d1d authored tarafından Eric Snow's avatar Eric Snow Kaydeden (comit) GitHub

bpo-30860: Always provide serialno. (#3507)

This fixes bpo-31407.
üst 9d984fd2
...@@ -40,8 +40,8 @@ struct _pymem_runtime_state { ...@@ -40,8 +40,8 @@ struct _pymem_runtime_state {
size_t ntimes_arena_allocated; size_t ntimes_arena_allocated;
poolp usedpools[MAX_POOLS]; poolp usedpools[MAX_POOLS];
Py_ssize_t num_allocated_blocks; Py_ssize_t num_allocated_blocks;
size_t serialno; /* incremented on each debug {m,re}alloc */
#endif /* WITH_PYMALLOC */ #endif /* WITH_PYMALLOC */
size_t serialno; /* incremented on each debug {m,re}alloc */
}; };
PyAPI_FUNC(void) _PyMem_Initialize(struct _pymem_runtime_state *); PyAPI_FUNC(void) _PyMem_Initialize(struct _pymem_runtime_state *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment