-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_GetPlatformString
chrisd1100 edited this page Aug 25, 2022
·
2 revisions
Turn a platform integer into a readable string.
const char *MTY_GetPlatformString(
uint32_t platform
);
platform
(uint32_t
)
Platform integer returned by MTY_GetPlatform
or MTY_GetPlatformNoWeb
. Bytes in the platform integer may be masked out to omit components of the string, i.e. a mask of 0xFFFF will create a string only with the version and not the OS, and a mask of 0xFF000000 will create a string only with the OS.
const char *
Example format would be Windows 10.0
.
This buffer is allocated in thread local storage and must not be freed.