]> granicus.if.org Git - gc/commitdiff
Fix typo and refine comment of GC_enable in public header
authorIvan Maidanski <ivmai@mail.ru>
Sun, 9 Dec 2012 19:15:28 +0000 (23:15 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 9 Dec 2012 19:28:30 +0000 (20:28 +0100)
* include/gc.h (GC_enable): Fix typo and refine comment.

include/gc.h

index 4063e7945fd068ed24840036ef1e2ee588f305d3..0663723241e10836f0c24f0f3e1800ca05b81fda 100644 (file)
@@ -684,8 +684,8 @@ GC_API void GC_CALL GC_disable(void);
 /* (i.e., GC_dont_gc value is non-zero).  Does not acquire the lock.    */
 GC_API int GC_CALL GC_is_disabled(void);
 
-/* Re-enable garbage collection.  GC_disable() and GC_enable() calls    */
-/* nest.  Garbage collection is enabled if the number of calls to both  */
+/* Try to re-enable garbage collection.  GC_disable() and GC_enable()   */
+/* calls nest.  Garbage collection is enabled if the number of calls to */
 /* both functions is equal.                                             */
 GC_API void GC_CALL GC_enable(void);