]> granicus.if.org Git - gc/commit
Better document minimum value of size argument for typed allocations
authorIvan Maidanski <ivmai@mail.ru>
Tue, 20 Jun 2017 22:07:12 +0000 (01:07 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 20 Jun 2017 22:07:12 +0000 (01:07 +0300)
commit5dff576ed67285ecbb367d77b1bbd2a249100683
treeeaab7b6d7d0c4cedb1707c8b7c0d774acf72ec35
parent27ad58cb112f0e388d1afe40b6d0f9651f2dabd5
Better document minimum value of size argument for typed allocations

* include/gc_typed.h (GC_make_descriptor): Provide a better argument
name (in comment).
* include/gc_typed.h (GC_malloc_explicitly_typed,
GC_calloc_explicitly_typed): Explicitly state in comment that the
size of the object in words should not be less than the number of
significant bits in the specified descriptor.
include/gc_typed.h