mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-05 02:06:02 -04:00
Fix #94 warning: "'extern' variable has an initializer"
This commit is contained in:
parent
53c727c68d
commit
2b384d1441
@ -18,11 +18,11 @@
|
|||||||
namespace SQLite
|
namespace SQLite
|
||||||
{
|
{
|
||||||
|
|
||||||
extern const int INTEGER = SQLITE_INTEGER;
|
const int INTEGER = SQLITE_INTEGER;
|
||||||
extern const int FLOAT = SQLITE_FLOAT;
|
const int FLOAT = SQLITE_FLOAT;
|
||||||
extern const int TEXT = SQLITE_TEXT;
|
const int TEXT = SQLITE_TEXT;
|
||||||
extern const int BLOB = SQLITE_BLOB;
|
const int BLOB = SQLITE_BLOB;
|
||||||
extern const int Null = SQLITE_NULL;
|
const int Null = SQLITE_NULL;
|
||||||
|
|
||||||
|
|
||||||
// Encapsulation of a Column in a row of the result pointed by the prepared Statement.
|
// Encapsulation of a Column in a row of the result pointed by the prepared Statement.
|
||||||
|
@ -24,16 +24,16 @@
|
|||||||
namespace SQLite
|
namespace SQLite
|
||||||
{
|
{
|
||||||
|
|
||||||
extern const int OPEN_READONLY = SQLITE_OPEN_READONLY;
|
const int OPEN_READONLY = SQLITE_OPEN_READONLY;
|
||||||
extern const int OPEN_READWRITE = SQLITE_OPEN_READWRITE;
|
const int OPEN_READWRITE = SQLITE_OPEN_READWRITE;
|
||||||
extern const int OPEN_CREATE = SQLITE_OPEN_CREATE;
|
const int OPEN_CREATE = SQLITE_OPEN_CREATE;
|
||||||
extern const int OPEN_URI = SQLITE_OPEN_URI;
|
const int OPEN_URI = SQLITE_OPEN_URI;
|
||||||
extern const int OPEN_MEMORY = SQLITE_OPEN_MEMORY;
|
const int OPEN_MEMORY = SQLITE_OPEN_MEMORY;
|
||||||
|
|
||||||
extern const int OK = SQLITE_OK;
|
const int OK = SQLITE_OK;
|
||||||
|
|
||||||
extern const char* VERSION = SQLITE_VERSION;
|
const char* VERSION = SQLITE_VERSION;
|
||||||
extern const int VERSION_NUMBER = SQLITE_VERSION_NUMBER;
|
const int VERSION_NUMBER = SQLITE_VERSION_NUMBER;
|
||||||
|
|
||||||
// Return SQLite version string using runtime call to the compiled library
|
// Return SQLite version string using runtime call to the compiled library
|
||||||
const char* getLibVersion() noexcept // nothrow
|
const char* getLibVersion() noexcept // nothrow
|
||||||
|
Loading…
x
Reference in New Issue
Block a user