headers/bsd: Add sys/queue.h.
[haiku.git] / src / kits / debugger / dwarf / SourceLanguageInfo.h
blob48a2b79c9a50c61afa18daeb15cada93f2824636
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef SOURCE_LANGUAGE_INFO_H
6 #define SOURCE_LANGUAGE_INFO_H
8 #include <SupportDefs.h>
11 struct SourceLanguageInfo {
12 const char* name;
13 uint8 arrayOrdering;
14 uint64 subrangeLowerBound;
18 struct UnknownSourceLanguageInfo : SourceLanguageInfo {
19 UnknownSourceLanguageInfo();
23 struct CFamilySourceLanguageInfo : SourceLanguageInfo {
24 CFamilySourceLanguageInfo();
28 struct CSourceLanguageInfo : CFamilySourceLanguageInfo {
29 CSourceLanguageInfo();
33 struct C89SourceLanguageInfo : CFamilySourceLanguageInfo {
34 C89SourceLanguageInfo();
38 struct C99SourceLanguageInfo : CFamilySourceLanguageInfo {
39 C99SourceLanguageInfo();
43 struct CPlusPlusSourceLanguageInfo : CFamilySourceLanguageInfo {
44 CPlusPlusSourceLanguageInfo();
48 extern const UnknownSourceLanguageInfo kUnknownLanguageInfo;
49 extern const UnknownSourceLanguageInfo kUnsupportedLanguageInfo;
50 extern const CSourceLanguageInfo kCLanguageInfo;
51 extern const C89SourceLanguageInfo kC89LanguageInfo;
52 extern const C99SourceLanguageInfo kC99LanguageInfo;
53 extern const CPlusPlusSourceLanguageInfo kCPlusPlusLanguageInfo;
56 #endif // SOURCE_LANGUAGE_INFO_H