]> granicus.if.org Git - gc/commitdiff
Remove redundant public GC_HAVE_GET_HEAP_USAGE_SAFE macro
authorIvan Maidanski <ivmai@mail.ru>
Fri, 30 Mar 2012 03:53:06 +0000 (07:53 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 3 Apr 2012 03:55:31 +0000 (07:55 +0400)
* include/gc.h (GC_HAVE_GET_HEAP_USAGE_SAFE): Remove public HAVE_
macro (since function availability could be determined by autotools);
update the comment.

include/gc.h

index 98a7704bed97130d0406b4f76077d9ce291ef960..7a6da5bbae1fe75afca1707308c0ff9afd33b768 100644 (file)
@@ -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 */,