From 7b5b5bc11f85057d892ce993c2f3384f9ce94a8b 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 177ab00..4934aee 100644 --- a/include/gc_inline.h +++ b/include/gc_inline.h @@ -87,10 +87,10 @@ GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL /* 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.7.4