libsl3 1.2.41002
A C++ interface for SQLite
Loading...
Searching...
No Matches
config.hpp
1/******************************************************************************
2 ------------- Copyright (c) 2009-2016 H a r a l d A c h i t z ---------------
3 ---------- < h a r a l d dot a c h i t z at g m a i l dot c o m > ------------
4 ---- This Source Code Form is subject to the terms of the Mozilla Public -----
5 ---- License, v. 2.0. If a copy of the MPL was not distributed with this -----
6 ---------- file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------
7 ******************************************************************************/
8
9
10 /************************************************************************
11 !!!! THIS FILE IS AUTOGENERATED BY CMAKE !!!!
12 *************************************************************************/
13
14#ifndef SL3_CONFIG
15#define SL3_CONFIG
16
17
18// TODO this has to look like here https://gcc.gnu.org/wiki/Visibility
19
20#if defined(_WIN32) && defined(_MSC_VER)
21 #if defined(LIBSL3_DLL)
22 #define LIBSL3_API __declspec(dllexport)
23 #elif defined(LINK_SL3_DLL)
24 #define LIBSL3_API __declspec(dllimport)
25 #else
26 #define LIBSL3_API
27 #endif
28#else
29 #define LIBSL3_API
30#endif
31
32//#define LIBSL3_API
33
34/**
35 \namespace sl3
36 \brief Namespace of libSL3.
37
38 The namespace where the library defines it's elements.
39
40*/
41namespace sl3
42{
43
44 static constexpr int MAJOR_VERSION = 1 ;
45 static constexpr int MINOR_VERSION = 2 ;
46 static constexpr int PATCH_VERSION = 41002 ;
47
48
49 /**
50 * \brief sqlite version string at compile time
51 *
52 * if this library was linked against an installed version of sqlite
53 * this function can be used to determinate if the system library has
54 * been updated.
55 * \sa sqliteRuntimeVersion()
56 *
57 * \return version string at compile time
58 */
59 const char* sqliteCompiledVersion();
60
61 /**
62 * \brief sqlite version number at compile time
63 *
64 * if this library was linked against an installed version of sqlite
65 * this function can be used to determinate if the system library has
66 * been updated.
67 * \sa sqliteRuntimeVersionNumber()
68 *
69 * \return version number at compile time
70 */
72
73
74 /**
75 * \brief sqlite version string at runtime
76 *
77 * if this library was linked against an installed version of sqlite
78 * this function can be used to determinate if the system library has
79 * been updated.
80 * \sa sqliteCompiledVersion()
81 *
82 * \return version string currently used
83 */
84 const char* sqliteRuntimeVersion();
85
86 /**
87 * \brief sqlite version number at compile time
88 *
89 * if this library was linked against an installed version of sqlite
90 * this function can be used to determinate if the system library has
91 * been updated.
92 * \sa sqliteCompiledVersionNumber()
93 *
94 * \return sqlite version number currently used
95 */
97
98
99 /**
100 * \brief returns value of SQLITE_THREADSAFE compilation option
101 *
102 * see http://www.sqlite.org/compile.html about additional informations
103 *
104 * \return 0 or 1 or 2
105 */
107
108
109}
110
111
112#endif
Namespace of libSL3.
Definition: columns.hpp:18
int sqliteThreadSafeCompileOption()
returns value of SQLITE_THREADSAFE compilation option
const char * sqliteRuntimeVersion()
sqlite version string at runtime
int sqliteCompiledVersionNumber()
sqlite version number at compile time
const char * sqliteCompiledVersion()
sqlite version string at compile time
int sqliteRuntimeVersionNumber()
sqlite version number at compile time