ai-content-maker/.venv/Lib/site-packages/numba/cext/utils.c

9 lines
201 B
C
Raw Permalink Normal View History

2024-05-03 04:18:51 +03:00
#include "cext.h"
/* Align size *sz* to pointer width */
Py_ssize_t
aligned_size(Py_ssize_t sz) {
Py_ssize_t alignment = sizeof(void*);
return sz + (alignment - sz % alignment) % alignment;
}