]> granicus.if.org Git - gc/commit
Tag auxiliary malloc-like API functions with 'malloc' attribute
authorIvan Maidanski <ivmai@mail.ru>
Wed, 1 Feb 2012 19:21:00 +0000 (23:21 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 1 Feb 2012 19:21:00 +0000 (23:21 +0400)
commit1883e72a86a13fbfa533fede69072aa85cbaed94
treee208daf5922e306bdf835b82cee2c5359e3de14b
parente2eafbe076541cf536669efa05beab69d3187864
Tag auxiliary malloc-like API functions with 'malloc' attribute

* include/gc.h (GC_malloc_many): Add GC_ATTR_MALLOC attribute.
* include/gc_mark.h (GC_generic_malloc): Likewise.
* include/gc_typed.h (GC_calloc_explicitly_typed): Likewise.
* include/gc_disclaim.h (GC_finalized_malloc): Add GC_ATTR_MALLOC and
GC_ATTR_ALLOC_SIZE attributes.
* include/gc_typed.h (GC_malloc_explicitly_typed,
GC_malloc_explicitly_typed_ignore_off_page): Likewise.
include/gc.h
include/gc_disclaim.h
include/gc_mark.h
include/gc_typed.h