1------------------------------------------------------------------------------ 2-- -- 3-- GNAT COMPILER COMPONENTS -- 4-- -- 5-- A D A . U N C H E C K E D _ D E A L L O C A T I O N -- 6-- -- 7-- S p e c -- 8-- -- 9-- This specification is derived from the Ada Reference Manual for use with -- 10-- GNAT. In accordance with the copyright of that document, you can freely -- 11-- copy and modify this specification, provided that if you redistribute a -- 12-- modified version, any changes that you have made are clearly indicated. -- 13-- -- 14------------------------------------------------------------------------------ 15 16generic 17 type Object (<>) is limited private; 18 type Name is access Object; 19 20procedure Ada.Unchecked_Deallocation (X : in out Name) with 21 Depends => (X => null, -- X on exit does not depend on its input value 22 null => X), -- X's input value has no effect 23 Post => X = null; -- X's output value is null 24pragma Preelaborate (Unchecked_Deallocation); 25 26pragma Import (Intrinsic, Ada.Unchecked_Deallocation); 27