mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
Change token to use 64-bit integers by default (when available)
This commit is contained in:
@@ -105,8 +105,13 @@ public:
|
||||
virtual std::string asString() const;
|
||||
/// Returns a string representation of the token.
|
||||
|
||||
#if defined(POCO_HAVE_INT64)
|
||||
virtual Int64 asInteger() const;
|
||||
/// Returns a 64-bit integer representation of the token.
|
||||
#else
|
||||
virtual int asInteger() const;
|
||||
/// Returns an integer representation of the token.
|
||||
#endif
|
||||
|
||||
virtual double asFloat() const;
|
||||
/// Returns a floating-point representation of the token.
|
||||
|
Reference in New Issue
Block a user