]> granicus.if.org Git - libatomic_ops/commit
Annotate AO_malloc with 'alloc_size' and 'malloc' attributes
authorIvan Maidanski <ivmai@mail.ru>
Fri, 1 Dec 2017 17:32:34 +0000 (20:32 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 1 Dec 2017 17:32:34 +0000 (20:32 +0300)
commit1835cad7654d48f0de868966dffc3ec1b98e5922
tree67db7e0f712f6cf202bf88fca5ec77dd07763299
parenta42f84aa850d112b45952035cee3e89816b1daf9
Annotate AO_malloc with 'alloc_size' and 'malloc' attributes

* src/atomic_ops_malloc.h [!AO_ATTR_MALLOC] (AO_ATTR_MALLOC): New macro.
* src/atomic_ops_malloc.h [!AO_ATTR_ALLOC_SIZE] (AO_ATTR_ALLOC_SIZE):
Likewise.
* src/atomic_ops_malloc.h (AO_malloc): Add AO_ATTR_MALLOC,
AO_ATTR_ALLOC_SIZE attributes.
src/atomic_ops_malloc.h