bindgen.ads 2.59 KB
Newer Older
Richard Kenner committed
1 2 3 4 5 6 7 8
------------------------------------------------------------------------------
--                                                                          --
--                         GNAT COMPILER COMPONENTS                         --
--                                                                          --
--                              B I N D G E N                               --
--                                                                          --
--                                 S p e c                                  --
--                                                                          --
9
--          Copyright (C) 1992-2019, Free Software Foundation, Inc.         --
Richard Kenner committed
10 11 12
--                                                                          --
-- GNAT is free software;  you can  redistribute it  and/or modify it under --
-- terms of the  GNU General Public License as published  by the Free Soft- --
13
-- ware  Foundation;  either version 3,  or (at your option) any later ver- --
Richard Kenner committed
14 15 16 17
-- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
-- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
-- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
-- for  more details.  You should have  received  a copy of the GNU General --
18 19
-- Public License  distributed with GNAT; see file COPYING3.  If not, go to --
-- http://www.gnu.org/licenses for a complete copy of the license.          --
Richard Kenner committed
20 21
--                                                                          --
-- GNAT was originally developed  by the GNAT team at  New York University. --
22
-- Extensive contributions were provided by Ada Core Technologies Inc.      --
Richard Kenner committed
23 24 25 26
--                                                                          --
------------------------------------------------------------------------------

--  This package contains the routines to output the binder file. This is
Arnaud Charlet committed
27
--  an Ada program which contains the following:
Richard Kenner committed
28

Arnaud Charlet committed
29 30 31
--     Initialization for main program case
--     Sequence of calls to elaboration routines in appropriate order
--     Call to main program for main program case
Richard Kenner committed
32 33 34

--  See the body for exact details of the file that is generated

35
with ALI; use ALI;
Arnaud Charlet committed
36

Richard Kenner committed
37
package Bindgen is
Arnaud Charlet committed
38 39 40
   procedure Gen_Output_File
     (Filename   : String;
      Elab_Order : Unit_Id_Array);
Richard Kenner committed
41 42
   --  Filename is the full path name of the binder output file

Arnaud Charlet committed
43 44 45 46
   procedure Set_Bind_Env (Key, Value : String);
   --  Add (Key, Value) pair to bind environment. These associations
   --  are made available at run time using System.Bind_Environment.

Richard Kenner committed
47
end Bindgen;