Skip to main content

Module platform

Module platform 

Source

Structs§

NSTDPlatform
Represents a computing platform.

Enums§

NSTDCPUArch
Represents a CPU architecture.
NSTDCPUEndian
Represents an endianness of a CPU.
NSTDOperatingSystem
Represents an operating system.

Functions§

nstd_core_platform_arch
Returns an NSTDCPUArch value representing the target CPU architecture. Returns: NSTDCPUArch arch - The target CPU architecture.
nstd_core_platform_endian
Returns the target CPU’s endianness. Returns: NSTDCPUEndian endian - The target CPU endianness.
nstd_core_platform_os
Returns an NSTDOperatingSystem value representing the target OS. Returns: NSTDOperatingSystem os - The target OS.
nstd_core_platform_ptr_size
Returns the size (in bytes) of a pointer. Returns: NSTDUSize size - Size of a pointer.
nstd_core_platform_target
Returns an NSTDPlatform value representing the target platform. Returns: NSTDPlatform platform - The target platform.