pxd: initial work
[pspp] / src / libpspp / integer-format.h
index a8a3cb32756125c5333bf1fa3021d3624c047488..6229acea383f9ca137883eb51f05fc3b92a33015 100644 (file)
@@ -38,7 +38,7 @@ enum integer_format
 #endif
   };
 
-/* Byte-order conversion macros.
+/* Endian conversion macros.
 
    These are intended for use only in contexts where a function cannot be
    called, e.g. static initializers or case labels.
@@ -65,9 +65,9 @@ enum integer_format
 #define LE32_TO_CPU(X) CPU_TO_LE32 (X)
 #define LE64_TO_CPU(X) CPU_TO_LE64 (X)
 
-/* Byte-order conversion functions.
+/* Endian conversion functions.
 
-   These should be preferred to the macros. */
+   Use these in preference to the macros above. */
 static inline uint16_t cpu_to_be16 (uint16_t x) { return CPU_TO_BE16 (x); }
 static inline uint32_t cpu_to_be32 (uint32_t x) { return CPU_TO_BE32 (x); }
 static inline uint64_t cpu_to_be64 (uint64_t x) { return CPU_TO_BE64 (x); }