OLD | NEW |
1 /* | 1 /* |
2 ************************************************************************ | 2 ************************************************************************ |
3 * Copyright (c) 2008-2013, International Business Machines | 3 * Copyright (c) 2008-2015, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ************************************************************************ | 5 ************************************************************************ |
6 */ | 6 */ |
7 | 7 |
8 /** C Utilities to aid in debugging **/ | 8 /** C Utilities to aid in debugging **/ |
9 | 9 |
10 #ifndef _UDBGUTIL_H | 10 #ifndef _UDBGUTIL_H |
11 #define _UDBGUTIL_H | 11 #define _UDBGUTIL_H |
12 | 12 |
13 #include "unicode/utypes.h" | 13 #include "unicode/utypes.h" |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 | 15 |
16 enum UDebugEnumType { | 16 enum UDebugEnumType { |
17 UDBG_UDebugEnumType = 0, /* Self-referential, strings for UDebugEnumType. Co
unt=ENUM_COUNT. */ | 17 UDBG_UDebugEnumType = 0, /* Self-referential, strings for UDebugEnumType. Co
unt=ENUM_COUNT. */ |
18 #if !UCONFIG_NO_FORMATTING | 18 #if !UCONFIG_NO_FORMATTING |
19 UDBG_UCalendarDateFields, /* UCalendarDateFields. Count=UCAL_FIELD_COUNT. U
nsupported if UCONFIG_NO_FORMATTING. */ | 19 UDBG_UCalendarDateFields, /* UCalendarDateFields. Count=UCAL_FIELD_COUNT. U
nsupported if UCONFIG_NO_FORMATTING. */ |
20 UDBG_UCalendarMonths, /* UCalendarMonths. Count= (UCAL_UNDECIMBER+1) */ | 20 UDBG_UCalendarMonths, /* UCalendarMonths. Count= (UCAL_UNDECIMBER+1) */ |
21 UDBG_UDateFormatStyle, /* Count = UDAT_SHORT=1 */ | 21 UDBG_UDateFormatStyle, /* Count = UDAT_SHORT=1 */ |
22 #endif | 22 #endif |
| 23 #if UCONFIG_ENABLE_PLUGINS |
23 UDBG_UPlugReason, /* Count = UPLUG_REASON_COUNT */ | 24 UDBG_UPlugReason, /* Count = UPLUG_REASON_COUNT */ |
24 UDBG_UPlugLevel, /* COUNT = UPLUG_LEVEL_COUNT */ | 25 UDBG_UPlugLevel, /* COUNT = UPLUG_LEVEL_COUNT */ |
| 26 #endif |
25 UDBG_UAcceptResult, /* Count = ULOC_ACCEPT_FALLBACK+1=3 */ | 27 UDBG_UAcceptResult, /* Count = ULOC_ACCEPT_FALLBACK+1=3 */ |
26 | 28 |
27 /* All following enums may be discontiguous. */ | 29 /* All following enums may be discontiguous. */ |
28 | 30 |
29 #if !UCONFIG_NO_COLLATION | 31 #if !UCONFIG_NO_COLLATION |
30 UDBG_UColAttributeValue, /* UCOL_ATTRIBUTE_VALUE_COUNT */ | 32 UDBG_UColAttributeValue, /* UCOL_ATTRIBUTE_VALUE_COUNT */ |
31 #endif | 33 #endif |
32 UDBG_ENUM_COUNT, | 34 UDBG_ENUM_COUNT, |
33 UDBG_HIGHEST_CONTIGUOUS_ENUM = UDBG_UAcceptResult, /**< last enum in this l
ist with contiguous (testable) values. */ | 35 UDBG_HIGHEST_CONTIGUOUS_ENUM = UDBG_UAcceptResult, /**< last enum in this l
ist with contiguous (testable) values. */ |
34 UDBG_INVALID_ENUM = -1 /** Invalid enum value **/ | 36 UDBG_INVALID_ENUM = -1 /** Invalid enum value **/ |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 U_CAPI UBool udbg_knownIssue_print(void *ptr); | 144 U_CAPI UBool udbg_knownIssue_print(void *ptr); |
143 | 145 |
144 /** | 146 /** |
145 * Close 'known issue' table. | 147 * Close 'known issue' table. |
146 * @param ptr | 148 * @param ptr |
147 */ | 149 */ |
148 U_CAPI void udbg_knownIssue_close(void *ptr); | 150 U_CAPI void udbg_knownIssue_close(void *ptr); |
149 | 151 |
150 | 152 |
151 #endif | 153 #endif |
OLD | NEW |