summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2022-11-02 07:55:46 +0300
committerIvan Maidanski <ivmai@mail.ru>2022-11-14 22:33:54 +0300
commit08f69721168fa61ad14c5a1cf658128306b32254 (patch)
tree92999824252530fdc685ea42fed3ca5b8c97d9bd
parentcfd7456be495732cca7e1fd1f9c58cd2cbcad4fd (diff)
downloadbdwgc-08f69721168fa61ad14c5a1cf658128306b32254.tar.gz
Fix mistyped function name in documentation of REDIRECT_REALLOC
* doc/README.macros (REDIRECT_REALLOC): Fix typo ("realloc" w/o GC_ prefix).
-rw-r--r--doc/README.macros2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/README.macros b/doc/README.macros
index 593cc6d4..ccac1d2b 100644
--- a/doc/README.macros
+++ b/doc/README.macros
@@ -236,7 +236,7 @@ REDIRECT_MALLOC=<X> Causes malloc to be defined as alias for X.
you should only use GC_debug_malloc_replacement as a malloc
replacement.
-REDIRECT_REALLOC=<X> Causes GC_realloc to be redirected to X.
+REDIRECT_REALLOC=<X> Causes realloc to be redirected to X.
The canonical use is REDIRECT_REALLOC=GC_debug_realloc_replacement,
together with REDIRECT_MALLOC=GC_debug_malloc_replacement to
generate leak reports with call stacks for both malloc and realloc.