|
Ruby 4.1.0dev (2026-10-20 revision 957a081892437c842a94cfd9443b0bdc569d1ef2)
|
#include <stdint.h>

Go to the source code of this file.
Macros | |
| #define | PRISM_LITTLE_ENDIAN_RUNTIME pm_little_endian() |
Functions | |
| static int | pm_little_endian (void) |
| Detect endianness at compile-time through the use of predefined macros. | |
| #define PRISM_LITTLE_ENDIAN_RUNTIME pm_little_endian() |
Definition at line 31 of file endianness.h.
|
inlinestatic |
Detect endianness at compile-time through the use of predefined macros.
Determine endianness at runtime, either through predefined macros or through a runtime check that is usually folded.
Definition at line 26 of file endianness.h.