blob: a64b2020eb0eaa7eb3b02849db9cd5fbf3b83966 [file] [log] [blame]
// Copyright 2016 The Cobalt Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Not breaking these functions up because however one is implemented, the
// others should be implemented similarly.
#if SB_API_VERSION < 16
#include "starboard/byte_swap.h"
int16_t SbByteSwapS16(int16_t value) {
return 0;
}
uint16_t SbByteSwapU16(uint16_t value) {
return 0;
}
int32_t SbByteSwapS32(int32_t value) {
return 0;
}
uint32_t SbByteSwapU32(uint32_t value) {
return 0;
}
int64_t SbByteSwapS64(int64_t value) {
return 0;
}
uint64_t SbByteSwapU64(uint64_t value) {
return 0;
}
#endif