From d41dc3ff6e5f0412e17e2036e6eb1d7af71c5903 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 1 Mar 2017 00:45:45 +0300 Subject: [PATCH] Fix name typos in GC_FAST_MALLOC_GRANS comment * include/gc_inline.h (GC_FAST_MALLOC_GRANS): Fix typos in names in comment ("num_direct", "generic_malloc"). --- include/gc_inline.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/gc_inline.h b/include/gc_inline.h index db1b2718..d6e467cd 100644 --- a/include/gc_inline.h +++ b/include/gc_inline.h @@ -64,10 +64,10 @@ GC_API void GC_CALL GC_generic_malloc_many(size_t /* lb */, int /* k */, /* GC_generic_malloc_many with the indicated kind. */ /* Tiny_fl should be an array of GC_TINY_FREELISTS void * pointers. */ /* If num_direct is nonzero, and the individual free list pointers */ -/* are initialized to (void *)1, then we allocate numdirect granules */ -/* directly using gmalloc before putting multiple objects into the */ -/* tiny_fl entry. If num_direct is zero, then the free lists may also */ -/* be initialized to (void *)0. */ +/* are initialized to (void *)1, then we allocate num_direct granules */ +/* directly using generic_malloc before putting multiple objects into */ +/* the tiny_fl entry. If num_direct is zero, then the free lists may */ +/* also be initialized to (void *)0. */ /* Note that we use the zeroth free list to hold objects 1 granule in */ /* size that are used to satisfy size 0 allocation requests. */ /* We rely on much of this hopefully getting optimized away in the */ -- 2.40.0