Skip to content

Commit 31b7fdc

Browse files
committed
patch: clang-format v2.0.2 of gamesdk
We need to do this so that we can update our patches so they apply cleanly on v4.0.0 Signed-off-by: William Casarin <jb55@jb55.com>
1 parent 1a51dc2 commit 31b7fdc

File tree

12 files changed

+2431
-2449
lines changed

12 files changed

+2431
-2449
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Use the Google style in this project.
2+
BasedOnStyle: Google
3+
4+
DerivePointerAlignment: true

android-activity/game-activity-csrc/common/gamesdk_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131

3232
// There are separate versions for each GameSDK component that use this format:
3333
#define ANDROID_GAMESDK_PACKED_VERSION(MAJOR, MINOR, BUGFIX) \
34-
((MAJOR << 16) | (MINOR << 8) | (BUGFIX))
34+
((MAJOR << 16) | (MINOR << 8) | (BUGFIX))
3535
// Accessors
3636
#define ANDROID_GAMESDK_MAJOR_VERSION(PACKED) ((PACKED) >> 16)
3737
#define ANDROID_GAMESDK_MINOR_VERSION(PACKED) (((PACKED) >> 8) & 0xff)
3838
#define ANDROID_GAMESDK_BUGFIX_VERSION(PACKED) ((PACKED) & 0xff)
3939

4040
#define AGDK_STRING_VERSION(MAJOR, MINOR, BUGFIX, GIT) \
41-
#MAJOR "." #MINOR "." #BUGFIX "." #GIT
41+
#MAJOR "." #MINOR "." #BUGFIX "." #GIT

0 commit comments

Comments
 (0)