summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2012-03-30 05:53:06 +0200
committerIvan Maidanski <ivmai@mail.ru>2012-04-03 05:55:31 +0200
commit424687f5f4d07322c02caebf493427954f7471ff (patch)
tree86c2aca348749164846d579eb8ddb549d5995eb5 /include
parent2b0fd8f841b9a6ed3d2811125af22df00e238129 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/gc.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/gc.h b/include/gc.h
index 98a7704..7a6da5b 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 */,