1 // Quick and dirty implementation of the byte order functions. 2 // Just here to be able to compile and test BFile. 3 // To be replaced by the OpenBeOS version to be provided by the IK Team. 4 5 #include <ByteOrder.h> 6 7 #include "LibBeAdapter.h" 8 9 // swap_data 10 status_t 11 swap_data(type_code type, void *data, size_t length, swap_action action) 12 { 13 return swap_data_adapter(type, data, length, action); 14 } 15 16 // is_type_swapped 17 bool 18 is_type_swapped(type_code type) 19 { 20 return is_type_swapped_adapter(type); 21 } 22 23