1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Description:
Allocate memory with indefinite extent and specified alignment.
Files:
lib/aligned-malloc.h
m4/malloc-align.m4
Depends-on:
stdint-h
posix_memalign
aligned_alloc
memalign
configure.ac:
gl_MALLOC_ALIGNMENT
AC_REQUIRE([AC_C_INLINE])
AC_CHECK_FUNCS_ONCE([memalign])
gl_CHECK_FUNCS_ANDROID([aligned_alloc], [[#include <stdlib.h>]])
gl_CHECK_FUNCS_ANDROID([posix_memalign], [[#include <stdlib.h>]])
Makefile.am:
Include:
"aligned-malloc.h"
License:
LGPLv2+
Maintainer:
all
|