18 #ifndef __NUMBERFORMATTING__
19 #define __NUMBERFORMATTING__
21 #ifndef __CONDITIONALMACROS__
29 #ifndef __INTLRESOURCES__
46 #if PRAGMA_STRUCT_ALIGN
47 #pragma options align = mac68k
48 #elif PRAGMA_STRUCT_PACKPUSH
50 #elif PRAGMA_STRUCT_PACK
78 typedef short FormatStatus;
84 typedef SInt8 FormatClass;
92 typedef SInt8 FormatResultType;
99 fMissingDelimiter = 4,
107 fExtraSeparator = 12,
108 fEmptyFormatString = 13
119 #if CALL_NOT_IN_CARBON
216 #define FormatX2Str(x, myCanonical, partsTable, outString) \
217 ExtendedToString(x, myCanonical, partsTable, outString)
218 #define FormatStr2X(source, myCanonical, partsTable, x) \
219 StringToExtended(source, myCanonical, partsTable, x)
220 #define Str2Format(inString, partsTable, outString) \
221 StringToFormatRec(inString, partsTable, outString)
222 #define Format2Str(myCanonical, partsTable, outString, positions) \
223 FormatRecToString(myCanonical, partsTable, outString, positions)
226 #if PRAGMA_STRUCT_ALIGN
227 #pragma options align = reset
228 #elif PRAGMA_STRUCT_PACKPUSH
230 #elif PRAGMA_STRUCT_PACK
234 #ifdef PRAGMA_IMPORT_OFF
Set up for compiler independent conditionals.
International Resource definitions.
Basic Macintosh data types.
Definition: NumberFormatting.h:112
Definition: MacTypes.h:206
Definition: IntlResources.h:212