git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
23 lines
494 B
C++
23 lines
494 B
C++
// Quick and dirty implementation of the byte order functions.
|
|
// Just here to be able to compile and test BFile.
|
|
// To be replaced by the OpenBeOS version to be provided by the IK Team.
|
|
|
|
#include <ByteOrder.h>
|
|
|
|
#include "LibBeAdapter.h"
|
|
|
|
// swap_data
|
|
status_t
|
|
swap_data(type_code type, void *data, size_t length, swap_action action)
|
|
{
|
|
return swap_data_adapter(type, data, length, action);
|
|
}
|
|
|
|
// is_type_swapped
|
|
bool
|
|
is_type_swapped(type_code type)
|
|
{
|
|
return is_type_swapped_adapter(type);
|
|
}
|
|
|