* treat as int16 and byteswap unaligned memory, * some cpus don't support unaligned access */
| 485 | * some cpus don't support unaligned access |
| 486 | */ |
| 487 | static inline void |
| 488 | npy_bswap2_unaligned(char * x) |
| 489 | { |
| 490 | char a = x[0]; |
| 491 | x[0] = x[1]; |
| 492 | x[1] = a; |
| 493 | } |
| 494 | |
| 495 | static inline npy_uint32 |
| 496 | npy_bswap4(npy_uint32 x) |
no outgoing calls
no test coverage detected