UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ApplePlatform.h File Reference

Go to the source code of this file.

Macros

#define PLATFORM_64BITS   1
 
#define PLATFORM_HAS_128BIT_ATOMICS   0
 
#define PLATFORM_LITTLE_ENDIAN   1
 
#define PLATFORM_SEH_EXCEPTIONS_DISABLED   1
 
#define PLATFORM_SUPPORTS_PRAGMA_PACK   1
 
#define PLATFORM_ENABLE_VECTORINTRINSICS   1
 
#define PLATFORM_USE_SYSTEM_VSWPRINTF   0
 
#define PLATFORM_COMPILER_DISTINGUISHES_INT_AND_LONG   1
 
#define PLATFORM_WCHAR_IS_4_BYTES   1
 
#define PLATFORM_HAS_BSD_TIME   1
 
#define PLATFORM_HAS_BSD_IPV6_SOCKETS   1
 
#define PLATFORM_HAS_BSD_SOCKET_FEATURE_MSG_DONTWAIT   1
 
#define PLATFORM_HAS_MULTITHREADED_PREMAIN   1
 
#define PLATFORM_SUPPORTS_TEXTURE_STREAMING   1
 
#define PLATFORM_SUPPORTS_STACK_SYMBOLS   1
 
#define PLATFORM_IS_ANSI_MALLOC_THREADSAFE   1
 
#define PLATFORM_BREAK()   __builtin_debugtrap()
 
#define PLATFORM_CODE_SECTION(Name)
 
#define PLATFORM_COMPILER_SUPPORTS_BUILTIN_BITCAST   (__clang_major__ >= 13)
 
#define VARARGS   /* Functions with variable arguments */
 
#define CDECL   /* Standard C function */
 
#define STDCALL   /* Standard calling convention */
 
#define FORCENOINLINE   __attribute__((noinline)) /* Force code to NOT be inline */
 
#define FUNCTION_CHECK_RETURN_END   __attribute__ ((warn_unused_result)) /* Warn that callers should not ignore the return value. */
 
#define FUNCTION_NO_RETURN_END   __attribute__ ((noreturn)) /* Indicate that the function never returns. */
 
#define ABSTRACT   abstract
 
#define GCC_PACK(n)   __attribute__((packed,aligned(n)))
 
#define GCC_ALIGN(n)   __attribute__((aligned(n)))
 
#define OPERATOR_NEW_THROW_SPEC   throw (std::bad_alloc)
 
#define OPERATOR_DELETE_THROW_SPEC   noexcept
 
#define OPERATOR_NEW_NOTHROW_SPEC   noexcept
 
#define OPERATOR_DELETE_NOTHROW_SPEC   noexcept
 
#define DLLEXPORT   __attribute__((visibility("default")))
 
#define DLLIMPORT   __attribute__((visibility("default")))
 

Macro Definition Documentation

◆ ABSTRACT

#define ABSTRACT   abstract

◆ CDECL

#define CDECL   /* Standard C function */

◆ DLLEXPORT

#define DLLEXPORT   __attribute__((visibility("default")))

◆ DLLIMPORT

#define DLLIMPORT   __attribute__((visibility("default")))

◆ FORCENOINLINE

#define FORCENOINLINE   __attribute__((noinline)) /* Force code to NOT be inline */

◆ FUNCTION_CHECK_RETURN_END

#define FUNCTION_CHECK_RETURN_END   __attribute__ ((warn_unused_result)) /* Warn that callers should not ignore the return value. */

◆ FUNCTION_NO_RETURN_END

#define FUNCTION_NO_RETURN_END   __attribute__ ((noreturn)) /* Indicate that the function never returns. */

◆ GCC_ALIGN

#define GCC_ALIGN (   n)    __attribute__((aligned(n)))

◆ GCC_PACK

#define GCC_PACK (   n)    __attribute__((packed,aligned(n)))

◆ OPERATOR_DELETE_NOTHROW_SPEC

#define OPERATOR_DELETE_NOTHROW_SPEC   noexcept

◆ OPERATOR_DELETE_THROW_SPEC

#define OPERATOR_DELETE_THROW_SPEC   noexcept

◆ OPERATOR_NEW_NOTHROW_SPEC

#define OPERATOR_NEW_NOTHROW_SPEC   noexcept

◆ OPERATOR_NEW_THROW_SPEC

#define OPERATOR_NEW_THROW_SPEC   throw (std::bad_alloc)

◆ PLATFORM_64BITS

#define PLATFORM_64BITS   1

◆ PLATFORM_BREAK

#define PLATFORM_BREAK ( )    __builtin_debugtrap()

◆ PLATFORM_CODE_SECTION

#define PLATFORM_CODE_SECTION (   Name)
Value:
__attribute__((section("__TEXT,__" Name ",regular,pure_instructions"))) \
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
float swift_float2 __attribute__((__ext_vector_type__(2)))
Definition MarketplaceKitWrapper.h:67

◆ PLATFORM_COMPILER_DISTINGUISHES_INT_AND_LONG

#define PLATFORM_COMPILER_DISTINGUISHES_INT_AND_LONG   1

◆ PLATFORM_COMPILER_SUPPORTS_BUILTIN_BITCAST

#define PLATFORM_COMPILER_SUPPORTS_BUILTIN_BITCAST   (__clang_major__ >= 13)

◆ PLATFORM_ENABLE_VECTORINTRINSICS

#define PLATFORM_ENABLE_VECTORINTRINSICS   1

◆ PLATFORM_HAS_128BIT_ATOMICS

#define PLATFORM_HAS_128BIT_ATOMICS   0

◆ PLATFORM_HAS_BSD_IPV6_SOCKETS

#define PLATFORM_HAS_BSD_IPV6_SOCKETS   1

◆ PLATFORM_HAS_BSD_SOCKET_FEATURE_MSG_DONTWAIT

#define PLATFORM_HAS_BSD_SOCKET_FEATURE_MSG_DONTWAIT   1

◆ PLATFORM_HAS_BSD_TIME

#define PLATFORM_HAS_BSD_TIME   1

◆ PLATFORM_HAS_MULTITHREADED_PREMAIN

#define PLATFORM_HAS_MULTITHREADED_PREMAIN   1

◆ PLATFORM_IS_ANSI_MALLOC_THREADSAFE

#define PLATFORM_IS_ANSI_MALLOC_THREADSAFE   1

◆ PLATFORM_LITTLE_ENDIAN

#define PLATFORM_LITTLE_ENDIAN   1

◆ PLATFORM_SEH_EXCEPTIONS_DISABLED

#define PLATFORM_SEH_EXCEPTIONS_DISABLED   1

◆ PLATFORM_SUPPORTS_PRAGMA_PACK

#define PLATFORM_SUPPORTS_PRAGMA_PACK   1

◆ PLATFORM_SUPPORTS_STACK_SYMBOLS

#define PLATFORM_SUPPORTS_STACK_SYMBOLS   1

◆ PLATFORM_SUPPORTS_TEXTURE_STREAMING

#define PLATFORM_SUPPORTS_TEXTURE_STREAMING   1

◆ PLATFORM_USE_SYSTEM_VSWPRINTF

#define PLATFORM_USE_SYSTEM_VSWPRINTF   0

◆ PLATFORM_WCHAR_IS_4_BYTES

#define PLATFORM_WCHAR_IS_4_BYTES   1

◆ STDCALL

#define STDCALL   /* Standard calling convention */

◆ VARARGS

#define VARARGS   /* Functions with variable arguments */