mirror of
https://github.com/python/cpython.git
synced 2025-10-22 14:42:22 +00:00
Rip out 'long' and 'L'-suffixed integer literals.
(Rough first cut.)
This commit is contained in:
parent
fc7bb8c786
commit
e2a383d062
146 changed files with 1446 additions and 1477 deletions
|
@ -17,18 +17,18 @@ kTXNFontSizeAttributeSize = 4
|
|||
normal = 0
|
||||
kTXNWillDefaultToATSUIBit = 0
|
||||
kTXNWillDefaultToCarbonEventBit = 1
|
||||
kTXNWillDefaultToATSUIMask = 1L << kTXNWillDefaultToATSUIBit
|
||||
kTXNWillDefaultToCarbonEventMask = 1L << kTXNWillDefaultToCarbonEventBit
|
||||
kTXNWillDefaultToATSUIMask = 1 << kTXNWillDefaultToATSUIBit
|
||||
kTXNWillDefaultToCarbonEventMask = 1 << kTXNWillDefaultToCarbonEventBit
|
||||
kTXNWantMoviesBit = 0
|
||||
kTXNWantSoundBit = 1
|
||||
kTXNWantGraphicsBit = 2
|
||||
kTXNAlwaysUseQuickDrawTextBit = 3
|
||||
kTXNUseTemporaryMemoryBit = 4
|
||||
kTXNWantMoviesMask = 1L << kTXNWantMoviesBit
|
||||
kTXNWantSoundMask = 1L << kTXNWantSoundBit
|
||||
kTXNWantGraphicsMask = 1L << kTXNWantGraphicsBit
|
||||
kTXNAlwaysUseQuickDrawTextMask = 1L << kTXNAlwaysUseQuickDrawTextBit
|
||||
kTXNUseTemporaryMemoryMask = 1L << kTXNUseTemporaryMemoryBit
|
||||
kTXNWantMoviesMask = 1 << kTXNWantMoviesBit
|
||||
kTXNWantSoundMask = 1 << kTXNWantSoundBit
|
||||
kTXNWantGraphicsMask = 1 << kTXNWantGraphicsBit
|
||||
kTXNAlwaysUseQuickDrawTextMask = 1 << kTXNAlwaysUseQuickDrawTextBit
|
||||
kTXNUseTemporaryMemoryMask = 1 << kTXNUseTemporaryMemoryBit
|
||||
kTXNDrawGrowIconBit = 0
|
||||
kTXNShowWindowBit = 1
|
||||
kTXNWantHScrollBarBit = 2
|
||||
|
@ -46,23 +46,23 @@ kTXNDontDrawSelectionWhenInactiveBit = 13
|
|||
kTXNSingleLineOnlyBit = 14
|
||||
kTXNDisableDragAndDropBit = 15
|
||||
kTXNUseQDforImagingBit = 16
|
||||
kTXNDrawGrowIconMask = 1L << kTXNDrawGrowIconBit
|
||||
kTXNShowWindowMask = 1L << kTXNShowWindowBit
|
||||
kTXNWantHScrollBarMask = 1L << kTXNWantHScrollBarBit
|
||||
kTXNWantVScrollBarMask = 1L << kTXNWantVScrollBarBit
|
||||
kTXNNoTSMEverMask = 1L << kTXNNoTSMEverBit
|
||||
kTXNReadOnlyMask = 1L << kTXNReadOnlyBit
|
||||
kTXNNoKeyboardSyncMask = 1L << kTXNNoKeyboardSyncBit
|
||||
kTXNNoSelectionMask = 1L << kTXNNoSelectionBit
|
||||
kTXNSaveStylesAsSTYLResourceMask = 1L << kTXNSaveStylesAsSTYLResourceBit
|
||||
kOutputTextInUnicodeEncodingMask = 1L << kOutputTextInUnicodeEncodingBit
|
||||
kTXNDoNotInstallDragProcsMask = 1L << kTXNDoNotInstallDragProcsBit
|
||||
kTXNAlwaysWrapAtViewEdgeMask = 1L << kTXNAlwaysWrapAtViewEdgeBit
|
||||
kTXNDontDrawCaretWhenInactiveMask = 1L << kTXNDontDrawCaretWhenInactiveBit
|
||||
kTXNDontDrawSelectionWhenInactiveMask = 1L << kTXNDontDrawSelectionWhenInactiveBit
|
||||
kTXNSingleLineOnlyMask = 1L << kTXNSingleLineOnlyBit
|
||||
kTXNDisableDragAndDropMask = 1L << kTXNDisableDragAndDropBit
|
||||
kTXNUseQDforImagingMask = 1L << kTXNUseQDforImagingBit
|
||||
kTXNDrawGrowIconMask = 1 << kTXNDrawGrowIconBit
|
||||
kTXNShowWindowMask = 1 << kTXNShowWindowBit
|
||||
kTXNWantHScrollBarMask = 1 << kTXNWantHScrollBarBit
|
||||
kTXNWantVScrollBarMask = 1 << kTXNWantVScrollBarBit
|
||||
kTXNNoTSMEverMask = 1 << kTXNNoTSMEverBit
|
||||
kTXNReadOnlyMask = 1 << kTXNReadOnlyBit
|
||||
kTXNNoKeyboardSyncMask = 1 << kTXNNoKeyboardSyncBit
|
||||
kTXNNoSelectionMask = 1 << kTXNNoSelectionBit
|
||||
kTXNSaveStylesAsSTYLResourceMask = 1 << kTXNSaveStylesAsSTYLResourceBit
|
||||
kOutputTextInUnicodeEncodingMask = 1 << kOutputTextInUnicodeEncodingBit
|
||||
kTXNDoNotInstallDragProcsMask = 1 << kTXNDoNotInstallDragProcsBit
|
||||
kTXNAlwaysWrapAtViewEdgeMask = 1 << kTXNAlwaysWrapAtViewEdgeBit
|
||||
kTXNDontDrawCaretWhenInactiveMask = 1 << kTXNDontDrawCaretWhenInactiveBit
|
||||
kTXNDontDrawSelectionWhenInactiveMask = 1 << kTXNDontDrawSelectionWhenInactiveBit
|
||||
kTXNSingleLineOnlyMask = 1 << kTXNSingleLineOnlyBit
|
||||
kTXNDisableDragAndDropMask = 1 << kTXNDisableDragAndDropBit
|
||||
kTXNUseQDforImagingMask = 1 << kTXNUseQDforImagingBit
|
||||
kTXNSetFlushnessBit = 0
|
||||
kTXNSetJustificationBit = 1
|
||||
kTXNUseFontFallBackBit = 2
|
||||
|
@ -73,29 +73,29 @@ kTXNDontDrawTextBit = 6
|
|||
kTXNUseCGContextRefBit = 7
|
||||
kTXNImageWithQDBit = 8
|
||||
kTXNDontWrapTextBit = 9
|
||||
kTXNSetFlushnessMask = 1L << kTXNSetFlushnessBit
|
||||
kTXNSetJustificationMask = 1L << kTXNSetJustificationBit
|
||||
kTXNUseFontFallBackMask = 1L << kTXNUseFontFallBackBit
|
||||
kTXNRotateTextMask = 1L << kTXNRotateTextBit
|
||||
kTXNUseVerticalTextMask = 1L << kTXNUseVerticalTextBit
|
||||
kTXNDontUpdateBoxRectMask = 1L << kTXNDontUpdateBoxRectBit
|
||||
kTXNDontDrawTextMask = 1L << kTXNDontDrawTextBit
|
||||
kTXNUseCGContextRefMask = 1L << kTXNUseCGContextRefBit
|
||||
kTXNImageWithQDMask = 1L << kTXNImageWithQDBit
|
||||
kTXNDontWrapTextMask = 1L << kTXNDontWrapTextBit
|
||||
kTXNSetFlushnessMask = 1 << kTXNSetFlushnessBit
|
||||
kTXNSetJustificationMask = 1 << kTXNSetJustificationBit
|
||||
kTXNUseFontFallBackMask = 1 << kTXNUseFontFallBackBit
|
||||
kTXNRotateTextMask = 1 << kTXNRotateTextBit
|
||||
kTXNUseVerticalTextMask = 1 << kTXNUseVerticalTextBit
|
||||
kTXNDontUpdateBoxRectMask = 1 << kTXNDontUpdateBoxRectBit
|
||||
kTXNDontDrawTextMask = 1 << kTXNDontDrawTextBit
|
||||
kTXNUseCGContextRefMask = 1 << kTXNUseCGContextRefBit
|
||||
kTXNImageWithQDMask = 1 << kTXNImageWithQDBit
|
||||
kTXNDontWrapTextMask = 1 << kTXNDontWrapTextBit
|
||||
kTXNFontContinuousBit = 0
|
||||
kTXNSizeContinuousBit = 1
|
||||
kTXNStyleContinuousBit = 2
|
||||
kTXNColorContinuousBit = 3
|
||||
kTXNFontContinuousMask = 1L << kTXNFontContinuousBit
|
||||
kTXNSizeContinuousMask = 1L << kTXNSizeContinuousBit
|
||||
kTXNStyleContinuousMask = 1L << kTXNStyleContinuousBit
|
||||
kTXNColorContinuousMask = 1L << kTXNColorContinuousBit
|
||||
kTXNFontContinuousMask = 1 << kTXNFontContinuousBit
|
||||
kTXNSizeContinuousMask = 1 << kTXNSizeContinuousBit
|
||||
kTXNStyleContinuousMask = 1 << kTXNStyleContinuousBit
|
||||
kTXNColorContinuousMask = 1 << kTXNColorContinuousBit
|
||||
kTXNIgnoreCaseBit = 0
|
||||
kTXNEntireWordBit = 1
|
||||
kTXNUseEncodingWordRulesBit = 31
|
||||
kTXNIgnoreCaseMask = 1L << kTXNIgnoreCaseBit
|
||||
kTXNEntireWordMask = 1L << kTXNEntireWordBit
|
||||
kTXNIgnoreCaseMask = 1 << kTXNIgnoreCaseBit
|
||||
kTXNEntireWordMask = 1 << kTXNEntireWordBit
|
||||
# kTXNUseEncodingWordRulesMask = (unsigned long)(1L << kTXNUseEncodingWordRulesBit)
|
||||
kTXNTextensionFile = FOUR_CHAR_CODE('txtn')
|
||||
kTXNTextFile = FOUR_CHAR_CODE('TEXT')
|
||||
|
@ -216,8 +216,8 @@ kTXNUnicodeEncoding = 2
|
|||
kTXNBackgroundTypeRGB = 1
|
||||
kTXNTextInputCountBit = 0
|
||||
kTXNRunCountBit = 1
|
||||
kTXNTextInputCountMask = 1L << kTXNTextInputCountBit
|
||||
kTXNRunCountMask = 1L << kTXNRunCountBit
|
||||
kTXNTextInputCountMask = 1 << kTXNTextInputCountBit
|
||||
kTXNRunCountMask = 1 << kTXNRunCountBit
|
||||
kTXNAllCountMask = kTXNTextInputCountMask | kTXNRunCountMask
|
||||
kTXNNoAppleEventHandlersBit = 0
|
||||
kTXNRestartAppleEventHandlersBit = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue