]> Savannah Git Hosting - gnulib.git/commit
aligned_alloc: New module.
authorBruno Haible <bruno@clisp.org>
Wed, 4 Nov 2020 01:22:33 +0000 (02:22 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 4 Nov 2020 01:22:33 +0000 (02:22 +0100)
commitd8de841b650d9dd635b8ea7a494f3b1cb82bd20d
tree55712b454abeeb24564fd7c98432fb1572606f5f
parent25792758360eb2383ff381d1227c3b928e0cba62
aligned_alloc: New module.

* lib/stdlib.in.h (aligned_alloc): New declaration.
* lib/aligned_alloc.c: New file.
* m4/aligned_alloc.m4: New file.
* m4/stdlib_h.m4 (gl_STDLIB_H): Test whether aligned_alloc is declared.
(gl_STDLIB_H_DEFAULTS): Initialize GNULIB_ALIGNED_ALLOC,
HAVE_ALIGNED_ALLOC, REPLACE_ALIGNED_ALLOC.
* modules/stdlib (Makefile.am): Substitute GNULIB_ALIGNED_ALLOC,
HAVE_ALIGNED_ALLOC, REPLACE_ALIGNED_ALLOC.
* modules/aligned_alloc: New file.
* tests/test-stdlib-c++.cc (aligned_alloc): Check signature.
* doc/posix-functions/aligned_alloc.texi: Mention the new module and the
AIX bug.
ChangeLog
doc/posix-functions/aligned_alloc.texi
lib/aligned_alloc.c [new file with mode: 0644]
lib/stdlib.in.h
m4/aligned_alloc.m4 [new file with mode: 0644]
m4/stdlib_h.m4
modules/aligned_alloc [new file with mode: 0644]
modules/stdlib
tests/test-stdlib-c++.cc