Fix name typos in GC_FAST_MALLOC_GRANS comment
authorIvan Maidanski <ivmai@mail.ru>
Tue, 28 Feb 2017 21:45:45 +0000 (00:45 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 28 Feb 2017 21:45:45 +0000 (00:45 +0300)
* include/gc_inline.h (GC_FAST_MALLOC_GRANS): Fix typos in names in
comment ("num_direct", "generic_malloc").

include/gc_inline.h

index 177ab00..4934aee 100644 (file)
@@ -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      */