On 7/8/25 11:19, Philippe Mathieu-Daudé wrote:
-/**
- * target_big_endian:
- * Returns true if the (default) endianness of the target is big endian,
- * false otherwise. Common code should normally never need to know about the
- * endianness of the target, so please do *not* use this function unless you
- * know very well what you are doing!
- */
...
+/**
+ * target_big_endian:
+ *
+ * Returns: %true if the (default) endianness of the target is big endian,
+ *          %false otherwise.
+ */
+bool target_big_endian(void);

Perhaps retain the warning about not using this unless necessary.

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to