numpy  2.0.0
include/numpy/npy_endian.h File Reference
#include "npy_cpu.h"

Go to the source code of this file.

Defines

#define NPY_LITTLE_ENDIAN   1234
#define NPY_BIG_ENDIAN   4321

Define Documentation

#define NPY_BIG_ENDIAN   4321
#define NPY_LITTLE_ENDIAN   1234
NPY_BYTE_ORDER is set to the same value as BYTE_ORDER set by glibc in endian.h
Set endianness info using target CPU