diff options
| author | 2022-08-04 09:41:10 +0200 | |
|---|---|---|
| committer | 2022-08-04 12:46:16 +0200 | |
| commit | 1676c2f04ead9a4e5844b48392bd5c44d477ce49 (patch) | |
| tree | 1a3008c265164e021c74b72fb971463168ffe16b /c.zig | |
| parent | add greaterThanOrEqualsTo (diff) | |
| download | zig-sqlite-1676c2f04ead9a4e5844b48392bd5c44d477ce49.tar.gz zig-sqlite-1676c2f04ead9a4e5844b48392bd5c44d477ce49.tar.xz zig-sqlite-1676c2f04ead9a4e5844b48392bd5c44d477ce49.zip | |
use a single cImport
Two cImport calls generate incompatible code: we can't use the structs
generated in sqlite.zig in functions in errors.zig for example
Up until now it wasn't actually a problem since in errors.zig we only
ever used constants which does work, but now we want to introduce
functions in this file.
Diffstat (limited to 'c.zig')
| -rw-r--r-- | c.zig | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -0,0 +1,3 @@ | |||
| 1 | pub const c = @cImport({ | ||
| 2 | @cInclude("sqlite3.h"); | ||
| 3 | }); | ||