We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7bc1f4 commit 3373c30Copy full SHA for 3373c30
easy_sqlite3.nimble
@@ -1,6 +1,6 @@
1
# Package
2
3
-version = "0.1.3"
+version = "0.1.4"
4
author = "CodeHz"
5
description = "Yet another SQLite wrapper for Nim"
6
license = "MIT"
src/easy_sqlite3/bindings.nim
@@ -21,6 +21,7 @@ when not defined(bundled_sqlite3):
21
f[4].add ident "importc"
22
f
23
else:
24
+ from std/strutils import replace
25
{.compile(
26
"sqlite3.c",
27
"""
@@ -33,7 +34,7 @@ else:
33
34
-DSQLITE_OMIT_DEPRECATED=1
35
-DSQLITE_ENABLE_MATH_FUNCTIONS=1
36
-DSQLITE_DQS=0
- """
37
+ """.replace('\n', ' ')
38
).}
39
macro sqlite3linkage(f: untyped) =
40
if f[4].kind == nnkEmpty:
0 commit comments