Next: , Previous: Pragma Favor_Top_Level, Up: Implementation Defined Pragmas


2.67 Pragma Finalize_Storage_Only

Syntax:

    pragma Finalize_Storage_Only (first_subtype_LOCAL_NAME);

This pragma allows the compiler not to emit a Finalize call for objects defined at the library level. This is mostly useful for types where finalization is only used to deal with storage reclamation since in most environments it is not necessary to reclaim memory just before terminating execution, hence the name.