From b4e6be0c5d28d0ad91c59df27d8648abda031f49 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 11 Nov 2015 11:20:21 +0300 Subject: [PATCH] Document GC_register_my_thread returned value * include/gc.h (GC_register_my_thread): Refine comment (about returned value). --- include/gc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gc.h b/include/gc.h index 1bba7559..7cf93203 100644 --- a/include/gc.h +++ b/include/gc.h @@ -1397,6 +1397,7 @@ GC_API void * GC_CALL GC_call_with_stack_base(GC_stack_base_func /* fn */, /* latter case, the explicit call is normally required for threads */ /* created by third-party libraries. */ /* A manually registered thread requires manual unregistering. */ + /* Returns GC_SUCCESS on success, GC_DUPLICATE if already registered. */ GC_API int GC_CALL GC_register_my_thread(const struct GC_stack_base *) GC_ATTR_NONNULL(1); -- 2.40.0