changeset 2212 | 6b5da1a2765a |
parent 2203 | 6bd39d75e0dd |
child 2216 | 82e7da49c26a |
2211:288360b78f30 | 2212:6b5da1a2765a |
---|---|
20 |
20 |
21 #ifdef __CPLUSPLUS |
21 #ifdef __CPLUSPLUS |
22 extern "C" { |
22 extern "C" { |
23 #endif |
23 #endif |
24 |
24 |
25 //from big endian to little endian |
25 /*from big endian to little endian*/ |
26 int invert_endianness(int number){ |
26 int invert_endianness(int number){ |
27 return bswap_32(number); |
27 return bswap_32(number); |
28 } |
28 } |
29 |
29 |
30 #ifdef __CPLUSPLUS |
30 #ifdef __CPLUSPLUS |