Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions android-activity/game-activity-csrc/.clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Use the Google style in this project.
BasedOnStyle: Google

DerivePointerAlignment: true
4 changes: 2 additions & 2 deletions android-activity/game-activity-csrc/common/gamesdk_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@

// There are separate versions for each GameSDK component that use this format:
#define ANDROID_GAMESDK_PACKED_VERSION(MAJOR, MINOR, BUGFIX) \
((MAJOR << 16) | (MINOR << 8) | (BUGFIX))
((MAJOR << 16) | (MINOR << 8) | (BUGFIX))
// Accessors
#define ANDROID_GAMESDK_MAJOR_VERSION(PACKED) ((PACKED) >> 16)
#define ANDROID_GAMESDK_MINOR_VERSION(PACKED) (((PACKED) >> 8) & 0xff)
#define ANDROID_GAMESDK_BUGFIX_VERSION(PACKED) ((PACKED) & 0xff)

#define AGDK_STRING_VERSION(MAJOR, MINOR, BUGFIX, GIT) \
#MAJOR "." #MINOR "." #BUGFIX "." #GIT
#MAJOR "." #MINOR "." #BUGFIX "." #GIT
Loading
Loading