* array data cache, sz is number of bytes to allocate */
| 145 | * array data cache, sz is number of bytes to allocate |
| 146 | */ |
| 147 | NPY_NO_EXPORT void * |
| 148 | npy_alloc_cache(npy_uintp sz) |
| 149 | { |
| 150 | return _npy_alloc_cache(sz, 1, NBUCKETS, datacache, &PyDataMem_NEW); |
| 151 | } |
| 152 | |
| 153 | /* zero initialized data, sz is number of bytes to allocate */ |
| 154 | NPY_NO_EXPORT void * |
nothing calls this directly
no test coverage detected