[Gc] Minor typos in gc.h

Ivan Maidanski ivmai at mail.ru
Thu Nov 20 06:07:41 PST 2008


Hi!

The patch fixes 2 typos in "gc.h" comments.

Bye.
-------------- next part --------------
diff -ru bdwgc/include/gc.h updated/bdwgc/include/gc.h
--- bdwgc/include/gc.h	2008-11-20 00:30:56.000000000 +0300
+++ updated/bdwgc/include/gc.h	2008-11-20 16:58:00.000000000 +0300
@@ -293,7 +293,7 @@
 /* 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);
@@ -814,7 +814,7 @@
 	/* 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	*/


More information about the Gc mailing list