vrischmann / zig-sqlite

zig-sqlite is a small wrapper around sqlite's C API, making it easier to use with Zig.
MIT License
367 stars 49 forks source link

use b.path API when appropiate #159

Closed lun-4 closed 5 months ago

lun-4 commented 5 months ago

it looks like zig 0.12 shipped with both b.path() and .{ .path = "..."} ways to construct a LazyPath, however post-0.12, the latter is completely removed (well, you could use .src_path, but that's discouraged).

I'm PR'ing this as the change should be compatible with both 0.12 and master branch at the same time (I'm having to do some experiments with zig master)

vrischmann commented 5 months ago

Thanks !