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:
@@ -280,7 +280,7 @@ void InteractiveOutputTestCase::TestPlatformInfo()
|
||||
wxPrintf(wxT("Operating system name is: %s\n"), plat.GetOperatingSystemIdName());
|
||||
wxPrintf(wxT("Port ID name is: %s\n"), plat.GetPortIdName());
|
||||
wxPrintf(wxT("Port ID short name is: %s\n"), plat.GetPortIdShortName());
|
||||
wxPrintf(wxT("Architecture is: %s\n"), plat.GetArchName());
|
||||
wxPrintf(wxT("Architecture bitness is: %s\n"), plat.GetArchName());
|
||||
wxPrintf(wxT("Endianness is: %s\n"), plat.GetEndiannessName());
|
||||
|
||||
wxPuts(wxEmptyString);
|
||||
|
Reference in New Issue
Block a user