Fix a typo in the PyMem_Resize macro, found by Andrew Kuchling

This commit is contained in:
Vladimir Marangozov 2000-08-13 11:59:08 +00:00
parent e8e9d11453
commit dcb45c34f5
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ extern DL_IMPORT(void) PyMem_Free(void *);
#define PyMem_New(type, n) \
( (type *) PyMem_Malloc((n) * sizeof(type)) )
#define PyMem_Resize(p, type, n) \
( (p) = (type *) PyMem_Realloc((n) * sizeof(type)) )
( (p) = (type *) PyMem_Realloc((p), (n) * sizeof(type)) )
#define PyMem_Del(p) PyMem_Free(p)
/* Macros */