diff options
| author | 2021-08-09 01:17:29 -0700 | |
|---|---|---|
| committer | 2021-08-09 01:17:29 -0700 | |
| commit | c48ce60993a0b3e26f3f1f0af1e325270f937270 (patch) | |
| tree | 6b1f6adfad861083acc27a3d23ab123ec6477c2b /sqlite.zig | |
| parent | make `init` return a Self instead of updating a pointer (diff) | |
| download | zig-sqlite-c48ce60993a0b3e26f3f1f0af1e325270f937270.tar.gz zig-sqlite-c48ce60993a0b3e26f3f1f0af1e325270f937270.tar.xz zig-sqlite-c48ce60993a0b3e26f3f1f0af1e325270f937270.zip | |
iterator- pass along options object
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -565,7 +565,7 @@ pub fn Iterator(comptime Type: type) type { | |||
| 565 | }, | 565 | }, |
| 566 | .Struct => { | 566 | .Struct => { |
| 567 | std.debug.assert(columns == TypeInfo.Struct.fields.len); | 567 | std.debug.assert(columns == TypeInfo.Struct.fields.len); |
| 568 | return try self.readStruct(.{}); | 568 | return try self.readStruct(options); |
| 569 | }, | 569 | }, |
| 570 | else => @compileError("cannot read into type " ++ @typeName(Type) ++ " ; if dynamic memory allocation is required use nextAlloc"), | 570 | else => @compileError("cannot read into type " ++ @typeName(Type) ++ " ; if dynamic memory allocation is required use nextAlloc"), |
| 571 | } | 571 | } |