Fix get_heap arguments meaning

`n` is not the number of bytes but the number of items which are each of
the given size.
pull/217/head
Remi Rampin 9 years ago
parent 6aaa477bc6
commit be59a42e94

@ -83,7 +83,7 @@ for heap allocation. It calls the internal function `__get_heap` with 3 paramete
* size of a type in bytes, which need be allocated
* `__alignof__(type)` shows how variables of this type are aligned
* `n` tells how many bytes to allocate
* `n` tells how many items to allocate
Implementation of `__get_heap` is:

Loading…
Cancel
Save