create_block Function

public function create_block(self, next) result(ptr)

Allocate memory for a new block and return a pointer to a new m_allocator object.

Type Bound

allocator_t

Arguments

Type IntentOptional Attributes Name
class(allocator_t), intent(inout) :: self
type(field_t), intent(in), pointer :: next

Return Value class(field_t), pointer