PR rtl-optimization/20756:
[official-gcc.git] / gcc / ada / a-cohata.ads
blob068efc6a2a87b3d5c722d9b4e473cf9d4806d380
1 ------------------------------------------------------------------------------
2 -- --
3 -- GNAT LIBRARY COMPONENTS --
4 -- --
5 -- ADA.CONTAINERS.HASH_TABLES --
6 -- --
7 -- S p e c --
8 -- --
9 -- This specification is adapted 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 ------------------------------------------------------------------------------
16 with Ada.Finalization;
18 package Ada.Containers.Hash_Tables is
19 pragma Preelaborate;
21 generic
22 type Node_Access is private;
24 package Generic_Hash_Table_Types is
25 type Buckets_Type is array (Hash_Type range <>) of Node_Access;
27 type Buckets_Access is access Buckets_Type;
29 type Hash_Table_Type is new Ada.Finalization.Controlled with record
30 Buckets : Buckets_Access;
31 Length : Count_Type := 0;
32 end record;
33 end Generic_Hash_Table_Types;
35 end Ada.Containers.Hash_Tables;