Christian Heimes added the comment:

My proposal mimics the API of endian.h. It defines a BYTE_ORDER macro that is 
either equal to LITTLE_ENDIAN, BIG_ENDIAN or PDB_ENDIAN (aka mixed endian). I 
need it that way for Keccak but I can roll my own definitions if you prefer 
just two macros.

If you prefer two macros instead of three then we should name them 
PY_IS_LITTLE_ENDIAN and PY_IS_BIG_ENDIAN.

Ned:
If I understand you correctly than we can't have a configure definition and 
need macro magic like brg_endian.h.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16166>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to