1 /****************************************************************************
3 * GNAT COMPILER COMPONENTS *
9 * Copyright (C) 1992-2008, Free Software Foundation, Inc. *
11 * GNAT is free software; you can redistribute it and/or modify it under *
12 * 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- *
14 * sion. GNAT is distributed in the hope that it will be useful, but WITH- *
15 * OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY *
16 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License *
17 * for more details. You should have received a copy of the GNU General *
18 * Public License distributed with GNAT; see file COPYING3. If not, go to *
19 * http://www.gnu.org/licenses for a complete copy of the license. *
21 * GNAT was originally developed by the GNAT team at New York University. *
22 * Extensive contributions were provided by Ada Core Technologies Inc. *
24 ****************************************************************************/
26 /* This is the C file that corresponds to the Ada package specification
27 Snames. It was created automatically from the file snames.ads. */
31 #define Name_ !! TEMPLATE INSERTION POINT
33 /* Define the function to return one of the numeric values below. Note
34 that it actually returns a char since an enumeration value of less
35 than 256 entries is represented that way in Ada. The operand is a Chars
38 #define Get_Attribute_Id snames__get_attribute_id
39 extern unsigned char Get_Attribute_Id (int);
41 /* Define the numeric values for attributes. */
43 #define Attr_ !! TEMPLATE INSERTION POINT
45 /* Define the numeric values for the conventions. */
47 #define Convention_ !! TEMPLATE INSERTION POINT
49 /* Define the function to check if a Name_Id value is a valid pragma */
51 #define Is_Pragma_Name snames__is_pragma_name
52 extern Boolean Is_Pragma_Name (Name_Id);
54 /* Define the function to return one of the numeric values below. Note
55 that it actually returns a char since an enumeration value of less
56 than 256 entries is represented that way in Ada. The operand is a Chars
59 #define Get_Pragma_Id snames__get_pragma_id
60 extern unsigned char Get_Pragma_Id (int);
62 /* Define the numeric values for the pragmas. */
64 #define Pragma_ !! TEMPLATE_INSERTION_POINT
66 /* End of snames.h (C version of Snames package spec) */