2020-02-17 14:38:49 +00:00
|
|
|
## This file contains additional definitions that nimterop does not generate
|
|
|
|
## code for
|
2019-04-10 17:58:14 +00:00
|
|
|
|
2020-02-17 14:38:49 +00:00
|
|
|
import sqlite3_gen
|
|
|
|
export sqlite3_gen
|
2020-02-17 14:55:15 +00:00
|
|
|
|
2020-02-17 16:16:01 +00:00
|
|
|
# Needed on windows
|
|
|
|
from os import splitPath
|
|
|
|
{.passC:"-I" & currentSourcePath().splitPath.head .}
|
|
|
|
|
2020-02-17 14:55:15 +00:00
|
|
|
proc sqlite3_bind_blob*(pstmt: ptr sqlite3_stmt, param: cint, value: pointer, n: cint, dispose: proc (v: pointer) {.cdecl.}): cint {.importc, header: "sqlite3.h", cdecl.}
|