diff options
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -617,7 +617,7 @@ pub const Db = struct { | |||
| 617 | /// | 617 | /// |
| 618 | /// The return type of the function is converted to a SQLite value according to the same rules but reversed. | 618 | /// The return type of the function is converted to a SQLite value according to the same rules but reversed. |
| 619 | /// | 619 | /// |
| 620 | pub fn createScalarFunction(self: *Self, func_name: [:0]const u8, comptime func: anytype, comptime create_flags: CreateFunctionFlag) !void { | 620 | pub fn createScalarFunction(self: *Self, func_name: [:0]const u8, comptime func: anytype, comptime create_flags: CreateFunctionFlag) Error!void { |
| 621 | const Type = @TypeOf(func); | 621 | const Type = @TypeOf(func); |
| 622 | 622 | ||
| 623 | const fn_info = switch (@typeInfo(Type)) { | 623 | const fn_info = switch (@typeInfo(Type)) { |