mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Another directory quickly renamed.
This commit is contained in:
parent
2b713b2f67
commit
86bea46b3d
18 changed files with 218 additions and 205 deletions
|
@ -39,10 +39,10 @@ newbitset(nbits)
|
|||
int nbits;
|
||||
{
|
||||
int nbytes = NBYTES(nbits);
|
||||
bitset ss = NEW(BYTE, nbytes);
|
||||
bitset ss = PyMem_NEW(BYTE, nbytes);
|
||||
|
||||
if (ss == NULL)
|
||||
fatal("no mem for bitset");
|
||||
Py_FatalError("no mem for bitset");
|
||||
|
||||
ss += nbytes;
|
||||
while (--nbytes >= 0)
|
||||
|
@ -54,7 +54,7 @@ void
|
|||
delbitset(ss)
|
||||
bitset ss;
|
||||
{
|
||||
DEL(ss);
|
||||
PyMem_DEL(ss);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue