reemove piSwapBinary

This commit is contained in:
2020-08-31 17:53:18 +03:00
parent c5f70f4e09
commit 6be22ac39f
3 changed files with 5 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
cmake_policy(SET CMP0017 NEW) # need include() with .cmake
project(pip)
set(_PIP_MAJOR 2)
set(_PIP_MINOR 4)
set(_PIP_MINOR 5)
set(_PIP_REVISION 0)
set(_PIP_SUFFIX _beta)
set(_PIP_COMPANY SHS)

View File

@@ -75,3 +75,7 @@ bool PICloudServer::Client::openDevice() {
return server;
}
void PICloudServer::readed(uchar *data, int size) {
}

View File

@@ -292,13 +292,6 @@ template<> inline void piSwapBinary(const void *& f, const void *& s) {
}
}
template<> inline void piSwap(double & f, double & s) {piSwapBinary<double>(f, s);}
template<> inline void piSwap(ldouble & f, ldouble & s) {piSwapBinary<ldouble>(f, s);}
#ifdef ARCH_BITS_32
template<> inline void piSwap(float & f, float & s) {piSwapBinary<float>(f, s);}
template<> inline void piSwap(llong & f, llong & s) {piSwapBinary<llong>(f, s);}
template<> inline void piSwap(ullong & f, ullong & s) {piSwapBinary<ullong>(f, s);}
#endif
/*! \brief Function for compare two values without "=" by raw content
* \details Example:\n \snippet piincludes.cpp compareBinary */