From fd872d40ec7fcdc860633bfaa73a007b888cac88 Mon Sep 17 00:00:00 2001 From: hboehm Date: Tue, 24 Feb 2009 21:54:25 +0000 Subject: [PATCH] 2009-02-24 Hans Boehm (Really Ivan Maidansky) * include/gc.h: Fix two typos in comments. --- ChangeLog | 3 +++ include/gc.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 65cc964a..3ebfecb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-02-24 Hans Boehm (Really Ivan Maidansky) + * include/gc.h: Fix two typos in comments. + 2009-02-24 Hans Boehm (Really Ivan Maidansky) * finalize.c: Fix typo in comment. diff --git a/include/gc.h b/include/gc.h index 77385e3f..335dd09a 100644 --- a/include/gc.h +++ b/include/gc.h @@ -291,7 +291,7 @@ GC_API void * GC_CALL GC_malloc_atomic_uncollectable(size_t size_in_bytes); /* Explicitly deallocate an object. Dangerous if used incorrectly. */ /* Requires a pointer to the base of an object. */ /* If the argument is stubborn, it should not be changeable when freed. */ -/* An object should not be enable for finalization when it is */ +/* An object should not be enabled for finalization when it is */ /* explicitly deallocated. */ /* GC_free(0) is a no-op, as required by ANSI C for free. */ GC_API void GC_CALL GC_free(void * object_addr); @@ -806,7 +806,7 @@ GC_API int GC_CALL GC_invoke_finalizers(void); /* be finalized. Return the number of finalizers */ /* that were run. Normally this is also called */ /* implicitly during some allocations. If */ - /* GC-finalize_on_demand is nonzero, it must be called */ + /* GC_finalize_on_demand is nonzero, it must be called */ /* explicitly. */ /* Explicitly tell the collector that an object is reachable */ -- 2.40.0