libsl3 1.3.53004
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#if defined(_WIN32) || defined(__CYGWIN__)
19 #if defined(LIBSL3_DLL)
20 #define LIBSL3_API __declspec(dllexport)
21 #elif defined(LINK_SL3_DLL)
22 #define LIBSL3_API __declspec(dllimport)
23 #endif
24#elif defined(__GNUC__)
25 #if defined(LIBSL3_DLL) || defined(LINK_SL3_DLL)
26 // Use this syntax, it works in all LIBSL3_API declaration positions
27 #define LIBSL3_API __attribute__((visibility("default")))
28 #endif
29#endif
30
31#ifndef LIBSL3_API
32 #define LIBSL3_API
33#endif
34
35#include <cstdint>
36
37/**
38 \namespace sl3
39 \brief Namespace of libSL3.
40
41 The namespace where the library defines its elements.
42
43*/
44namespace sl3
45{
46
47 static constexpr int MAJOR_VERSION = 1 ;
48 static constexpr int MINOR_VERSION = 3 ;
49 static constexpr int PATCH_VERSION = 53004 ;
50
51
52 /**
53 * \brief sqlite version string at compile time
54 *
55 * if this library was linked against an installed version of sqlite
56 * this function can be used to determine if the system library has
57 * been updated.
58 * \sa sqliteRuntimeVersion()
59 *
60 * \return version string at compile time
61 */
62 LIBSL3_API const char* sqliteCompiledVersion();
63
64 /**
65 * \brief sqlite version number at compile time
66 *
67 * if this library was linked against an installed version of sqlite
68 * this function can be used to determine if the system library has
69 * been updated.
70 * \sa sqliteRuntimeVersionNumber()
71 *
72 * \return version number at compile time
73 */
75
76
77 /**
78 * \brief sqlite version string at runtime
79 *
80 * if this library was linked against an installed version of sqlite
81 * this function can be used to determine if the system library has
82 * been updated.
83 * \sa sqliteCompiledVersion()
84 *
85 * \return version string currently used
86 */
87 LIBSL3_API const char* sqliteRuntimeVersion();
88
89 /**
90 * \brief sqlite version number at compile time
91 *
92 * if this library was linked against an installed version of sqlite
93 * this function can be used to determine if the system library has
94 * been updated.
95 * \sa sqliteCompiledVersionNumber()
96 *
97 * \return sqlite version number currently used
98 */
100
101
102 /**
103 * \brief returns value of SQLITE_THREADSAFE compilation option
104 *
105 * see http://www.sqlite.org/compile.html for additional information
106 *
107 * \return 0 or 1 or 2
108 */
110
111
112}
113
114
115#endif
Namespace of libSL3.
Definition columns.hpp:18
LIBSL3_API int sqliteCompiledVersionNumber()
sqlite version number at compile time
LIBSL3_API const char * sqliteRuntimeVersion()
sqlite version string at runtime
LIBSL3_API int sqliteRuntimeVersionNumber()
sqlite version number at compile time
LIBSL3_API const char * sqliteCompiledVersion()
sqlite version string at compile time
LIBSL3_API int sqliteThreadSafeCompileOption()
returns value of SQLITE_THREADSAFE compilation option