Explain in wxPlatformInfo docs that it means bitness when it says architecture

In the context of wxPlatformInfo, 'architecture' means either '32 bit' or
'64 bit'. Anywhere outside the context of wxPlatformInfo, this concept is
known as 'bitness'.

For the rest of the world, 'architecture' generally refers to the CPU
instruction set architecture, i.e. something like x86, x86_64, arm64, whereas
'operating system architecture' refers to the design of separating kernel
space, user space, etc.
This commit is contained in:
Lauri Nurmi
2020-11-19 00:20:48 +02:00
parent dd864cffe0
commit 68ea3c59f1
5 changed files with 13 additions and 14 deletions

View File

@@ -150,7 +150,7 @@ WXDLLIMPEXP_BASE bool wxCheckOsVersion(int majorVsn, int minorVsn = 0, int micro
// Get platform endianness
WXDLLIMPEXP_BASE bool wxIsPlatformLittleEndian();
// Get platform architecture
// Get platform architecture bitness
WXDLLIMPEXP_BASE bool wxIsPlatform64Bit();
// Get machine CPU architecture