Return a pointer to the first available memory block, i.e. the current head of the block list. If the list is empty, allocate a new block with create_block first.
Example
f%data => get_block()
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(allocator_t), | intent(inout) | :: | self | |||
integer, | intent(in) | :: | dir | |||
integer, | intent(in), | optional | :: | data_loc |