1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
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 --
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. --
14 ------------------------------------------------------------------------------
17 type Object
(<>) is limited private;
18 type Name
is access Object
;
20 procedure 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
24 pragma Preelaborate
(Unchecked_Deallocation
);
26 pragma Import
(Intrinsic
, Ada
.Unchecked_Deallocation
);