UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AndroidPlatformString.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Misc/Build.h"
8
9UE_DEPRECATED(5.7, "FAndroidPlatformString has been deprecated, please use FPlatformString instead.")
10typedef FGenericWidePlatformString FAndroidPlatformString;
11
12typedef FGenericWidePlatformString FPlatformString;
13
14// Format specifiers to be able to print values of these types correctly, for example when using UE_LOG.
15// SIZE_T format specifier
16#if PLATFORM_64BITS
17#define SIZE_T_FMT "llu"
18// SIZE_T format specifier for lowercase hexadecimal output
19#define SIZE_T_x_FMT "llx"
20// SIZE_T format specifier for uppercase hexadecimal output
21#define SIZE_T_X_FMT "llX"
22
23// SSIZE_T format specifier
24#define SSIZE_T_FMT "lld"
25// SSIZE_T format specifier for lowercase hexadecimal output
26#define SSIZE_T_x_FMT "llx"
27// SSIZE_T format specifier for uppercase hexadecimal output
28#define SSIZE_T_X_FMT "llX"
29#else
30#define SIZE_T_FMT "u"
31// SIZE_T format specifier for lowercase hexadecimal output
32#define SIZE_T_x_FMT "x"
33// SIZE_T format specifier for uppercase hexadecimal output
34#define SIZE_T_X_FMT "X"
35
36// SSIZE_T format specifier
37#define SSIZE_T_FMT "d"
38// SSIZE_T format specifier for lowercase hexadecimal output
39#define SSIZE_T_x_FMT "x"
40// SSIZE_T format specifier for uppercase hexadecimal output
41#define SSIZE_T_X_FMT "X"
42#endif
43
44// PTRINT format specifier for decimal output
45#define PTRINT_FMT SSIZE_T_FMT
46// PTRINT format specifier for lowercase hexadecimal output
47#define PTRINT_x_FMT SSIZE_T_x_FMT
48// PTRINT format specifier for uppercase hexadecimal output
49#define PTRINT_X_FMT SSIZE_T_X_FMT
50
51// UPTRINT format specifier for decimal output
52#define UPTRINT_FMT SIZE_T_FMT
53// UPTRINT format specifier for lowercase hexadecimal output
54#define UPTRINT_x_FMT SIZE_T_x_FMT
55// UPTRINT format specifier for uppercase hexadecimal output
56#define UPTRINT_X_FMT SIZE_T_X_FMT
57
58// int64 format specifier for decimal output
59#define INT64_FMT "lld"
60// int64 format specifier for lowercase hexadecimal output
61#define INT64_x_FMT "llx"
62// int64 format specifier for uppercase hexadecimal output
63#define INT64_X_FMT "llX"
64
65// uint64 format specifier for decimal output
66#define UINT64_FMT "llu"
67// uint64 format specifier for lowercase hexadecimal output
68#define UINT64_x_FMT "llx"
69// uint64 format specifier for uppercase hexadecimal output
70#define UINT64_X_FMT "llX"
FGenericWidePlatformString FAndroidPlatformString
Definition AndroidPlatformString.h:10
FGenericWidePlatformString FPlatformString
Definition AndroidPlatformString.h:12
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127