diff options
| author | 2021-08-26 05:42:21 +0900 | |
|---|---|---|
| committer | 2021-08-26 05:42:21 +0900 | |
| commit | 6c22535e42a2c29aed96a14fdec5f1359f603dd5 (patch) | |
| tree | be428a9aa4868c0e967e94fdeca5c9c1ef64ec84 /errors.zig | |
| parent | Merge pull request #42 from nektro/master (diff) | |
| download | zig-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 '')
0 files changed, 0 insertions, 0 deletions