reemove piSwapBinary
This commit is contained in:
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
|
|||||||
cmake_policy(SET CMP0017 NEW) # need include() with .cmake
|
cmake_policy(SET CMP0017 NEW) # need include() with .cmake
|
||||||
project(pip)
|
project(pip)
|
||||||
set(_PIP_MAJOR 2)
|
set(_PIP_MAJOR 2)
|
||||||
set(_PIP_MINOR 4)
|
set(_PIP_MINOR 5)
|
||||||
set(_PIP_REVISION 0)
|
set(_PIP_REVISION 0)
|
||||||
set(_PIP_SUFFIX _beta)
|
set(_PIP_SUFFIX _beta)
|
||||||
set(_PIP_COMPANY SHS)
|
set(_PIP_COMPANY SHS)
|
||||||
|
|||||||
@@ -75,3 +75,7 @@ bool PICloudServer::Client::openDevice() {
|
|||||||
return server;
|
return server;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void PICloudServer::readed(uchar *data, int size) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
@@ -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
|
/*! \brief Function for compare two values without "=" by raw content
|
||||||
* \details Example:\n \snippet piincludes.cpp compareBinary */
|
* \details Example:\n \snippet piincludes.cpp compareBinary */
|
||||||
|
|||||||
Reference in New Issue
Block a user