Blender Git Loki
Git Commits -> Revision a5ab906
July 5, 2021, 17:10 (GMT) |
Replace Ghost integral types with standard fixed width integers. Also replace integer with bool in Ghost API when only used as boolean, and replace uint8* with char* in Ghost API when variable is a string. Reviewed By: brecht Differential Revision: https://developer.blender.org/D11617 |
Commit Details:
Full Hash: a5ab9062cbfecc220e232f315784fbb386c33f77
Parent Commit: b73dc36
Lines Changed: +896, -1071
92 Modified Paths:
/intern/ghost/GHOST_C-api.h (+56, -77) (Diff)
/intern/ghost/GHOST_IEvent.h (+1, -1) (Diff)
/intern/ghost/GHOST_ISystem.h (+14, -14) (Diff)
/intern/ghost/GHOST_ISystemPaths.h (+4, -4) (Diff)
/intern/ghost/GHOST_IWindow.h (+10, -17) (Diff)
/intern/ghost/GHOST_Path-api.h (+4, -4) (Diff)
/intern/ghost/GHOST_Rect.h (+22, -28) (Diff)
/intern/ghost/GHOST_Types.h (+22, -35) (Diff)
/intern/ghost/intern/GHOST_Buttons.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+53, -83) (Diff)
/intern/ghost/intern/GHOST_DisplayManager.cpp (+15, -16) (Diff)
/intern/ghost/intern/GHOST_DisplayManager.h (+7, -8) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerCocoa.h (+6, -8) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerCocoa.mm (+9, -9) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerNULL.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerSDL.h (+6, -8) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerWin32.h (+6, -8) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerX11.cpp (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerX11.h (+6, -8) (Diff)
/intern/ghost/intern/GHOST_DropTargetWin32.cpp (+2, -2) (Diff)
/intern/ghost/intern/GHOST_DropTargetX11.cpp (+2, -2) (Diff)
/intern/ghost/intern/GHOST_Event.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_EventButton.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventCursor.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_EventDragnDrop.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventKey.h (+3, -6) (Diff)
/intern/ghost/intern/GHOST_EventManager.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_EventManager.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_EventNDOF.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_EventPrinter.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventString.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventTrackpad.h (+5, -5) (Diff)
/intern/ghost/intern/GHOST_EventWheel.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_ImeWin32.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_ModifierKeys.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_NDOFManager.cpp (+6, -6) (Diff)
/intern/ghost/intern/GHOST_NDOFManager.h (+8, -8) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm (+1, -1) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerUnix.cpp (+3, -3) (Diff)
/intern/ghost/intern/GHOST_Path-api.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_Rect.cpp (+5, -5) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_System.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.h (+15, -15) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+46, -47) (Diff)
/intern/ghost/intern/GHOST_SystemNULL.h (+13, -13) (Diff)
/intern/ghost/intern/GHOST_SystemPaths.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_SystemPathsCocoa.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_SystemPathsCocoa.mm (+8, -8) (Diff)
/intern/ghost/intern/GHOST_SystemPathsUnix.cpp (+8, -8) (Diff)
/intern/ghost/intern/GHOST_SystemPathsUnix.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_SystemPathsWin32.cpp (+8, -8) (Diff)
/intern/ghost/intern/GHOST_SystemPathsWin32.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.cpp (+21, -21) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.h (+12, -12) (Diff)
/intern/ghost/intern/GHOST_SystemWayland.cpp (+19, -20) (Diff)
/intern/ghost/intern/GHOST_SystemWayland.h (+13, -13) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+27, -27) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+14, -14) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+31, -31) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+13, -13) (Diff)
/intern/ghost/intern/GHOST_TimerManager.cpp (+11, -11) (Diff)
/intern/ghost/intern/GHOST_TimerManager.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_TimerTask.h (+14, -14) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+5, -10) (Diff)
/intern/ghost/intern/GHOST_Window.h (+24, -25) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+13, -25) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+34, -40) (Diff)
/intern/ghost/intern/GHOST_WindowNULL.h (+11, -17) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.cpp (+12, -23) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+12, -18) (Diff)
/intern/ghost/intern/GHOST_WindowWayland.cpp (+21, -26) (Diff)
/intern/ghost/intern/GHOST_WindowWayland.h (+12, -18) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+37, -43) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+16, -22) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+13, -19) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+12, -18) (Diff)
/intern/ghost/intern/GHOST_Wintab.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+1, -1) (Diff)
/intern/ghost/test/gears/GHOST_C-Test.c (+3, -3) (Diff)
/intern/ghost/test/gears/GHOST_Test.cpp (+3, -3) (Diff)
/intern/ghost/test/multitest/EventToBuf.c (+1, -1) (Diff)
/intern/ghost/test/multitest/MultiTest.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/appdir.c (+3, -4) (Diff)
/source/blender/windowmanager/intern/wm_cursors.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+4, -4) (Diff)
/intern/ghost/GHOST_IEvent.h (+1, -1) (Diff)
/intern/ghost/GHOST_ISystem.h (+14, -14) (Diff)
/intern/ghost/GHOST_ISystemPaths.h (+4, -4) (Diff)
/intern/ghost/GHOST_IWindow.h (+10, -17) (Diff)
/intern/ghost/GHOST_Path-api.h (+4, -4) (Diff)
/intern/ghost/GHOST_Rect.h (+22, -28) (Diff)
/intern/ghost/GHOST_Types.h (+22, -35) (Diff)
/intern/ghost/intern/GHOST_Buttons.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+53, -83) (Diff)
/intern/ghost/intern/GHOST_DisplayManager.cpp (+15, -16) (Diff)
/intern/ghost/intern/GHOST_DisplayManager.h (+7, -8) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerCocoa.h (+6, -8) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerCocoa.mm (+9, -9) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerNULL.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerSDL.h (+6, -8) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerWin32.h (+6, -8) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerX11.cpp (+7, -7) (Diff)
/intern/ghost/intern/GHOST_DisplayManagerX11.h (+6, -8) (Diff)
/intern/ghost/intern/GHOST_DropTargetWin32.cpp (+2, -2) (Diff)
/intern/ghost/intern/GHOST_DropTargetX11.cpp (+2, -2) (Diff)
/intern/ghost/intern/GHOST_Event.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_EventButton.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventCursor.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_EventDragnDrop.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventKey.h (+3, -6) (Diff)
/intern/ghost/intern/GHOST_EventManager.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_EventManager.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_EventNDOF.h (+2, -2) (Diff)
/intern/ghost/intern/GHOST_EventPrinter.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventString.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_EventTrackpad.h (+5, -5) (Diff)
/intern/ghost/intern/GHOST_EventWheel.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_ImeWin32.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_ModifierKeys.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_NDOFManager.cpp (+6, -6) (Diff)
/intern/ghost/intern/GHOST_NDOFManager.h (+8, -8) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerCocoa.mm (+1, -1) (Diff)
/intern/ghost/intern/GHOST_NDOFManagerUnix.cpp (+3, -3) (Diff)
/intern/ghost/intern/GHOST_Path-api.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_Rect.cpp (+5, -5) (Diff)
/intern/ghost/intern/GHOST_System.cpp (+4, -4) (Diff)
/intern/ghost/intern/GHOST_System.h (+7, -7) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.h (+15, -15) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+46, -47) (Diff)
/intern/ghost/intern/GHOST_SystemNULL.h (+13, -13) (Diff)
/intern/ghost/intern/GHOST_SystemPaths.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_SystemPathsCocoa.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_SystemPathsCocoa.mm (+8, -8) (Diff)
/intern/ghost/intern/GHOST_SystemPathsUnix.cpp (+8, -8) (Diff)
/intern/ghost/intern/GHOST_SystemPathsUnix.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_SystemPathsWin32.cpp (+8, -8) (Diff)
/intern/ghost/intern/GHOST_SystemPathsWin32.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.cpp (+21, -21) (Diff)
/intern/ghost/intern/GHOST_SystemSDL.h (+12, -12) (Diff)
/intern/ghost/intern/GHOST_SystemWayland.cpp (+19, -20) (Diff)
/intern/ghost/intern/GHOST_SystemWayland.h (+13, -13) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+27, -27) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+14, -14) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+31, -31) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+13, -13) (Diff)
/intern/ghost/intern/GHOST_TimerManager.cpp (+11, -11) (Diff)
/intern/ghost/intern/GHOST_TimerManager.h (+4, -4) (Diff)
/intern/ghost/intern/GHOST_TimerTask.h (+14, -14) (Diff)
/intern/ghost/intern/GHOST_Window.cpp (+5, -10) (Diff)
/intern/ghost/intern/GHOST_Window.h (+24, -25) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+13, -25) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+34, -40) (Diff)
/intern/ghost/intern/GHOST_WindowNULL.h (+11, -17) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.cpp (+12, -23) (Diff)
/intern/ghost/intern/GHOST_WindowSDL.h (+12, -18) (Diff)
/intern/ghost/intern/GHOST_WindowWayland.cpp (+21, -26) (Diff)
/intern/ghost/intern/GHOST_WindowWayland.h (+12, -18) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.cpp (+37, -43) (Diff)
/intern/ghost/intern/GHOST_WindowWin32.h (+16, -22) (Diff)
/intern/ghost/intern/GHOST_WindowX11.cpp (+13, -19) (Diff)
/intern/ghost/intern/GHOST_WindowX11.h (+12, -18) (Diff)
/intern/ghost/intern/GHOST_Wintab.h (+3, -3) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+1, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+1, -1) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+1, -1) (Diff)
/intern/ghost/test/gears/GHOST_C-Test.c (+3, -3) (Diff)
/intern/ghost/test/gears/GHOST_Test.cpp (+3, -3) (Diff)
/intern/ghost/test/multitest/EventToBuf.c (+1, -1) (Diff)
/intern/ghost/test/multitest/MultiTest.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/appdir.c (+3, -4) (Diff)
/source/blender/windowmanager/intern/wm_cursors.c (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+4, -4) (Diff)