summaryrefslogtreecommitdiff
path: root/numpy/random/src/aligned_malloc/aligned_malloc.c
blob: 6e8192cfbeed72e1e5bff34f2d5d0bbd48a0b3aa (plain)
1
2
3
4
5
6
7
8
9
#include "aligned_malloc.h"

static NPY_INLINE void *PyArray_realloc_aligned(void *p, size_t n);

static NPY_INLINE void *PyArray_malloc_aligned(size_t n);

static NPY_INLINE void *PyArray_calloc_aligned(size_t n, size_t s);

static NPY_INLINE void PyArray_free_aligned(void *p);