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

@@ -82,7 +82,7 @@ enum wxPortId
wxPORT_QT = 1 << 10 // wxQT, using Qt 5+
};
// architecture of the operating system
// architecture bitness of the operating system
// (regardless of the build environment of wxWidgets library - see
// wxIsPlatform64bit documentation for more info)
enum wxArchitecture
@@ -134,7 +134,7 @@ struct wxLinuxDistributionInfo
// ----------------------------------------------------------------------------
// Information about the toolkit that the app is running under and some basic
// platform and architecture info
// platform and architecture bitness info
class WXDLLIMPEXP_BASE wxPlatformInfo
{
public:
@@ -359,7 +359,7 @@ protected:
// others
// -----------------
// architecture of the OS/machine
// architecture bitness of the OS/machine
wxArchitecture m_arch;
// endianness of the machine