summaryrefslogtreecommitdiff
path: root/errors.zig
diff options
context:
space:
mode:
authorGravatar Kenta Iwasaki2021-08-26 05:42:21 +0900
committerGravatar Kenta Iwasaki2021-08-26 05:42:21 +0900
commit6c22535e42a2c29aed96a14fdec5f1359f603dd5 (patch)
treebe428a9aa4868c0e967e94fdeca5c9c1ef64ec84 /errors.zig
parentMerge pull request #42 from nektro/master (diff)
downloadzig-sqlite-6c22535e42a2c29aed96a14fdec5f1359f603dd5.tar.gz
zig-sqlite-6c22535e42a2c29aed96a14fdec5f1359f603dd5.tar.xz
zig-sqlite-6c22535e42a2c29aed96a14fdec5f1359f603dd5.zip
sqlite: expose c import, add 'shared_cache' to init flags
Expose the C import to sqlite.h. Making a separate call to @cImport outside of the library will cause Zig to regenerate all definitions in sqlite.h. The regenerated definitions (i.e. structs, enums) would not be equivalent to the definitions imported in by this library. This causes problems in the case one wants to manually wrap SQLite structs, pointers, and enums with the helpers provided in this library. Added 'shared_cache' to init flags in order to allow having the same backing table and statement cache shared amongst all connections pointed to the same database file.
Diffstat (limited to 'errors.zig')
0 files changed, 0 insertions, 0 deletions