mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +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
|
|
@ -20,24 +20,24 @@ kSheetAlertWindowClass = 15
|
|||
kAltPlainWindowClass = 16
|
||||
kDrawerWindowClass = 20
|
||||
# kAllWindowClasses = (unsigned long)0xFFFFFFFF
|
||||
kWindowNoAttributes = 0L
|
||||
kWindowCloseBoxAttribute = (1L << 0)
|
||||
kWindowHorizontalZoomAttribute = (1L << 1)
|
||||
kWindowVerticalZoomAttribute = (1L << 2)
|
||||
kWindowNoAttributes = 0
|
||||
kWindowCloseBoxAttribute = (1 << 0)
|
||||
kWindowHorizontalZoomAttribute = (1 << 1)
|
||||
kWindowVerticalZoomAttribute = (1 << 2)
|
||||
kWindowFullZoomAttribute = (kWindowVerticalZoomAttribute | kWindowHorizontalZoomAttribute)
|
||||
kWindowCollapseBoxAttribute = (1L << 3)
|
||||
kWindowResizableAttribute = (1L << 4)
|
||||
kWindowSideTitlebarAttribute = (1L << 5)
|
||||
kWindowToolbarButtonAttribute = (1L << 6)
|
||||
kWindowNoUpdatesAttribute = (1L << 16)
|
||||
kWindowNoActivatesAttribute = (1L << 17)
|
||||
kWindowOpaqueForEventsAttribute = (1L << 18)
|
||||
kWindowNoShadowAttribute = (1L << 21)
|
||||
kWindowHideOnSuspendAttribute = (1L << 24)
|
||||
kWindowStandardHandlerAttribute = (1L << 25)
|
||||
kWindowHideOnFullScreenAttribute = (1L << 26)
|
||||
kWindowInWindowMenuAttribute = (1L << 27)
|
||||
kWindowLiveResizeAttribute = (1L << 28)
|
||||
kWindowCollapseBoxAttribute = (1 << 3)
|
||||
kWindowResizableAttribute = (1 << 4)
|
||||
kWindowSideTitlebarAttribute = (1 << 5)
|
||||
kWindowToolbarButtonAttribute = (1 << 6)
|
||||
kWindowNoUpdatesAttribute = (1 << 16)
|
||||
kWindowNoActivatesAttribute = (1 << 17)
|
||||
kWindowOpaqueForEventsAttribute = (1 << 18)
|
||||
kWindowNoShadowAttribute = (1 << 21)
|
||||
kWindowHideOnSuspendAttribute = (1 << 24)
|
||||
kWindowStandardHandlerAttribute = (1 << 25)
|
||||
kWindowHideOnFullScreenAttribute = (1 << 26)
|
||||
kWindowInWindowMenuAttribute = (1 << 27)
|
||||
kWindowLiveResizeAttribute = (1 << 28)
|
||||
# kWindowNoConstrainAttribute = (unsigned long)((1L << 31))
|
||||
kWindowStandardDocumentAttributes = (kWindowCloseBoxAttribute | kWindowFullZoomAttribute | kWindowCollapseBoxAttribute | kWindowResizableAttribute)
|
||||
kWindowStandardFloatingAttributes = (kWindowCloseBoxAttribute | kWindowCollapseBoxAttribute)
|
||||
|
|
@ -225,7 +225,7 @@ wTitleBarColor = 4
|
|||
# kMouseUpOutOfSlop = (long)0x80008000
|
||||
kWindowDefinitionVersionOne = 1
|
||||
kWindowDefinitionVersionTwo = 2
|
||||
kWindowIsCollapsedState = (1 << 0L)
|
||||
kWindowIsCollapsedState = (1 << 0)
|
||||
kStoredWindowSystemTag = FOUR_CHAR_CODE('appl')
|
||||
kStoredBasicWindowDescriptionID = FOUR_CHAR_CODE('sbas')
|
||||
kStoredWindowPascalTitleID = FOUR_CHAR_CODE('s255')
|
||||
|
|
@ -251,8 +251,8 @@ kWindowGroupContentsRecurse = 1 << 1
|
|||
kWindowGroupContentsVisible = 1 << 2
|
||||
kWindowPaintProcOptionsNone = 0
|
||||
kScrollWindowNoOptions = 0
|
||||
kScrollWindowInvalidate = (1L << 0)
|
||||
kScrollWindowEraseToPortBackground = (1L << 1)
|
||||
kScrollWindowInvalidate = (1 << 0)
|
||||
kScrollWindowEraseToPortBackground = (1 << 1)
|
||||
kWindowMenuIncludeRotate = 1 << 0
|
||||
kWindowZoomTransitionEffect = 1
|
||||
kWindowSheetTransitionEffect = 2
|
||||
|
|
@ -261,11 +261,11 @@ kWindowShowTransitionAction = 1
|
|||
kWindowHideTransitionAction = 2
|
||||
kWindowMoveTransitionAction = 3
|
||||
kWindowResizeTransitionAction = 4
|
||||
kWindowConstrainMayResize = (1L << 0)
|
||||
kWindowConstrainMoveRegardlessOfFit = (1L << 1)
|
||||
kWindowConstrainAllowPartial = (1L << 2)
|
||||
kWindowConstrainCalcOnly = (1L << 3)
|
||||
kWindowConstrainUseTransitionWindow = (1L << 4)
|
||||
kWindowConstrainMayResize = (1 << 0)
|
||||
kWindowConstrainMoveRegardlessOfFit = (1 << 1)
|
||||
kWindowConstrainAllowPartial = (1 << 2)
|
||||
kWindowConstrainCalcOnly = (1 << 3)
|
||||
kWindowConstrainUseTransitionWindow = (1 << 4)
|
||||
kWindowConstrainStandardOptions = kWindowConstrainMoveRegardlessOfFit
|
||||
kWindowLatentVisibleFloater = 1 << 0
|
||||
kWindowLatentVisibleSuspend = 1 << 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue