Add new macro SAFE_ALLOCATE_TYPE
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