1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
5 -- S Y S T E M . A D D R E S S _ T O _ A C C E S S _ C O N V E R S I O N S --
11 -- This specification is adapted from the Ada Reference Manual for use with --
12 -- GNAT. In accordance with the copyright of that document, you can freely --
13 -- copy and modify this specification, provided that if you redistribute a --
14 -- modified version, any changes that you have made are clearly indicated. --
16 ------------------------------------------------------------------------------
19 type Object (<>) is limited private;
21 package System.Address_To_Access_Conversions is
22 pragma Preelaborate (Address_To_Access_Conversions);
24 type Object_Pointer is access all Object;
25 for Object_Pointer'Size use Standard'Address_Size;
27 function To_Pointer (Value : Address) return Object_Pointer;
28 function To_Address (Value : Object_Pointer) return Address;
30 pragma Convention (Intrinsic, To_Pointer);
31 pragma Convention (Intrinsic, To_Address);
33 end System.Address_To_Access_Conversions;