source:
trunk/IPs/systemC/Environment/Endianness/src/Endianness_isSameEndianness.cpp
@
82
Last change on this file since 82 was 81, checked in by , 17 years ago | |
---|---|
|
|
File size: 209 bytes |
Line | |
---|---|
1 | #include "../include/Endianness.h" |
2 | |
3 | namespace environment { |
4 | namespace endianness { |
5 | |
6 | bool isSameEndianness (uint32_t cpu_id) |
7 | { |
8 | return ((hostEndianness() xor cpuEndianness(cpu_id)) == false); |
9 | } |
10 | |
11 | }; |
12 | }; |
Note: See TracBrowser
for help on using the repository browser.