diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2022-09-14 20:18:32 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2022-09-14 20:18:32 +0300 |
commit | 1ac20db7bbdd47da1719f0ab8825d5301fd4e66a (patch) | |
tree | a0b55008d698085ef8c5cc3d27a9ba45dffa82d3 /allchblk.c | |
parent | f07d1d929889a6de491c86e9f6872f5263adb04a (diff) | |
download | bdwgc-1ac20db7bbdd47da1719f0ab8825d5301fd4e66a.tar.gz |
Document that GC_is_X API functions may return only zero or one
* include/gc/gc.h (GC_is_init_called, GC_is_heap_ptr, GC_is_disabled,
GC_is_incremental_mode): Explicitly specify in comment that the
returned value is 1 (true) or 0; reformat comment.
* include/gc/gc.h [GC_THREADS] (GC_thread_is_registered): Likewise.
* include/gc/gc.h [GC_THREADS] (GC_thread_is_registered): Mention in
comment that the allocator lock is acquired.
* include/gc/gc.h [GC_DONT_EXPAND] (GC_dont_expand): Change TRUE to
true in comment.
* include/gc/gc_mark.h (GC_is_marked): Likewise.
Diffstat (limited to 'allchblk.c')
0 files changed, 0 insertions, 0 deletions