Skip to content

Add new macro SAFE_ALLOCATE_TYPE

Micael Oliveira requested to merge safe_allocate_type into develop

Description

Add new macro SAFE_ALLOCATE_TYPE so we can specify the type when allocating a polymorphic variable.

News snippet

Add new macro SAFE_ALLOCATE_TYPE so we can specify the type when allocating a polymorphic variable.

Checklist

  • I have checked that my code follows the Octopus coding standards
  • I have added tests for all the new features added in this request.
Edited by Micael Oliveira

Merge request reports