From: Ivan Maidanski Date: Fri, 30 Mar 2012 03:53:06 +0000 (+0400) Subject: Remove redundant public GC_HAVE_GET_HEAP_USAGE_SAFE macro X-Git-Tag: gc7_2~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=424687f5f4d07322c02caebf493427954f7471ff;p=gc Remove redundant public GC_HAVE_GET_HEAP_USAGE_SAFE macro * include/gc.h (GC_HAVE_GET_HEAP_USAGE_SAFE): Remove public HAVE_ macro (since function availability could be determined by autotools); update the comment. --- diff --git a/include/gc.h b/include/gc.h index 98a7704b..7a6da5bb 100644 --- a/include/gc.h +++ b/include/gc.h @@ -558,10 +558,8 @@ GC_API size_t GC_CALL GC_get_total_bytes(void); /* the allocator lock thus preventing data racing and returning the */ /* consistent result.) Passing NULL pointer is allowed for any */ /* argument. Returned (filled in) values are of word type. */ -/* (This API function and the accompanying macro were introduced in */ -/* GC v7.2alpha7 at the moment when GC_get_heap_size and the friends */ -/* were made lock-free again.) */ -#define GC_HAVE_GET_HEAP_USAGE_SAFE 1 +/* (This API function was introduced in GC v7.2alpha7 at the same time */ +/* when GC_get_heap_size and the friends were made lock-free again.) */ GC_API void GC_CALL GC_get_heap_usage_safe(GC_word * /* pheap_size */, GC_word * /* pfree_bytes */, GC_word * /* punmapped_bytes */,