summaryrefslogtreecommitdiff
path: root/numpy/random/src/aligned_malloc/aligned_malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/src/aligned_malloc/aligned_malloc.c')
-rw-r--r--numpy/random/src/aligned_malloc/aligned_malloc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/numpy/random/src/aligned_malloc/aligned_malloc.c b/numpy/random/src/aligned_malloc/aligned_malloc.c
new file mode 100644
index 000000000..6e8192cfb
--- /dev/null
+++ b/numpy/random/src/aligned_malloc/aligned_malloc.c
@@ -0,0 +1,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); \ No newline at end of file