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. */
33 Name_ !! TEMPLATE INSERTION POINT
36 /* Define the numeric values for attributes. */
38 enum Attribute_Id : unsigned char
40 Attr_ !! TEMPLATE INSERTION POINT
43 /* Define the function to return one of the numeric values above. The operand
44 is a Chars field value. */
46 static inline Attribute_Id
47 Get_Attribute_Id (int id)
49 extern unsigned char snames__get_attribute_id (int);
50 return (Attribute_Id) snames__get_attribute_id (id);
53 /* Define the numeric values for the conventions. */
55 enum Convention_Id : Byte
57 Convention_ !! TEMPLATE INSERTION POINT
60 /* Define the function to check if a Name_Id value is a valid pragma */
62 #define Is_Pragma_Name snames__is_pragma_name
63 extern Boolean Is_Pragma_Name (Name_Id);
65 /* Define the numeric values for the pragmas. */
69 Pragma_ !! TEMPLATE_INSERTION_POINT
72 /* Define the function to return one of the numeric values above. The operand
73 is a Chars field value. */
75 static inline Pragma_Id
76 Get_Pragma_Id (int id)
78 extern unsigned char snames__get_pragma_id (int);
79 return (Pragma_Id) snames__get_pragma_id (id);
82 /* End of snames.h (C version of Snames package spec) */