mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
more fixes
This commit is contained in:
@@ -68,6 +68,7 @@ void Binder::bind(std::size_t pos, const Poco::UInt64 &val, Direction dir)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef POCO_INT64_IS_LONG
|
||||||
void Binder::bind(std::size_t pos, const long& val, Direction dir)
|
void Binder::bind(std::size_t pos, const long& val, Direction dir)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -76,6 +77,7 @@ void Binder::bind(std::size_t pos, const long& val, Direction dir)
|
|||||||
void Binder::bind(std::size_t pos, const unsigned long& val, Direction dir)
|
void Binder::bind(std::size_t pos, const unsigned long& val, Direction dir)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void Binder::bind(std::size_t pos, const bool &val, Direction dir)
|
void Binder::bind(std::size_t pos, const bool &val, Direction dir)
|
||||||
|
|||||||
@@ -56,11 +56,13 @@ public:
|
|||||||
void bind(std::size_t pos, const Poco::UInt64 &val, Direction dir);
|
void bind(std::size_t pos, const Poco::UInt64 &val, Direction dir);
|
||||||
/// Binds an UInt64.
|
/// Binds an UInt64.
|
||||||
|
|
||||||
|
#ifndef POCO_INT64_IS_LONG
|
||||||
void bind(std::size_t pos, const long& val, Direction dir);
|
void bind(std::size_t pos, const long& val, Direction dir);
|
||||||
/// Binds a long.
|
/// Binds a long.
|
||||||
|
|
||||||
void bind(std::size_t pos, const unsigned long& val, Direction dir);
|
void bind(std::size_t pos, const unsigned long& val, Direction dir);
|
||||||
/// Binds an unsigned long.
|
/// Binds an unsigned long.
|
||||||
|
#endif
|
||||||
|
|
||||||
void bind(std::size_t pos, const bool &val, Direction dir);
|
void bind(std::size_t pos, const bool &val, Direction dir);
|
||||||
/// Binds a boolean.
|
/// Binds a boolean.
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ bool Extractor::extract(std::size_t pos, Poco::Int64& val)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef POCO_INT64_IS_LONG
|
||||||
bool Extractor::extract(std::size_t pos, long& val)
|
bool Extractor::extract(std::size_t pos, long& val)
|
||||||
{
|
{
|
||||||
val = 0;
|
val = 0;
|
||||||
@@ -89,6 +90,7 @@ bool Extractor::extract(std::size_t pos, unsigned long& val)
|
|||||||
val = 0;
|
val = 0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
bool Extractor::extract(std::size_t pos, Poco::UInt64& val)
|
bool Extractor::extract(std::size_t pos, Poco::UInt64& val)
|
||||||
|
|||||||
@@ -62,11 +62,13 @@ public:
|
|||||||
bool extract(std::size_t pos, Poco::Dynamic::Var& val);
|
bool extract(std::size_t pos, Poco::Dynamic::Var& val);
|
||||||
/// Extracts a Var.
|
/// Extracts a Var.
|
||||||
|
|
||||||
|
#ifndef POCO_INT64_IS_LONG
|
||||||
bool extract(std::size_t pos, long& val);
|
bool extract(std::size_t pos, long& val);
|
||||||
/// Extracts a long.
|
/// Extracts a long.
|
||||||
|
|
||||||
bool extract(std::size_t pos, unsigned long& val);
|
bool extract(std::size_t pos, unsigned long& val);
|
||||||
/// Extracts an unsigned long.
|
/// Extracts an unsigned long.
|
||||||
|
#endif
|
||||||
|
|
||||||
bool extract(std::size_t pos, bool& val);
|
bool extract(std::size_t pos, bool& val);
|
||||||
/// Extracts a boolean.
|
/// Extracts a boolean.
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ void Preparator::prepare(std::size_t pos, const Poco::UInt64&)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef POCO_INT64_IS_LONG
|
||||||
void Preparator::prepare(std::size_t pos, const long&)
|
void Preparator::prepare(std::size_t pos, const long&)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -76,6 +77,7 @@ void Preparator::prepare(std::size_t pos, const long&)
|
|||||||
void Preparator::prepare(std::size_t pos, const unsigned long&)
|
void Preparator::prepare(std::size_t pos, const unsigned long&)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void Preparator::prepare(std::size_t pos, const bool&)
|
void Preparator::prepare(std::size_t pos, const bool&)
|
||||||
|
|||||||
@@ -57,11 +57,13 @@ public:
|
|||||||
void prepare(std::size_t pos, const Poco::UInt64&);
|
void prepare(std::size_t pos, const Poco::UInt64&);
|
||||||
/// Prepares an UInt64.
|
/// Prepares an UInt64.
|
||||||
|
|
||||||
|
#ifndef POCO_INT64_IS_LONG
|
||||||
void prepare(std::size_t pos, const long&);
|
void prepare(std::size_t pos, const long&);
|
||||||
/// Prepares a long.
|
/// Prepares a long.
|
||||||
|
|
||||||
void prepare(std::size_t pos, const unsigned long&);
|
void prepare(std::size_t pos, const unsigned long&);
|
||||||
/// Prepares an unsigned long.
|
/// Prepares an unsigned long.
|
||||||
|
#endif
|
||||||
|
|
||||||
void prepare(std::size_t pos, const bool&);
|
void prepare(std::size_t pos, const bool&);
|
||||||
/// Prepares a boolean.
|
/// Prepares a boolean.
|
||||||
|
|||||||
Reference in New Issue
Block a user