It is accomplished ...

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz
2002-07-09 12:24:59 +00:00
commit 52a3801208
2025 changed files with 472889 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
// 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);
}