Skip to content

Commit

Permalink
make isUnique public
Browse files Browse the repository at this point in the history
  • Loading branch information
karlseguin committed Jul 12, 2023
1 parent a226b76 commit f6ac7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zqlite.zig
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ fn errorFromCode(result: c_int) anyerror {
};
}

fn isUnique(err: anyerror) bool {
pub fn isUnique(err: anyerror) bool {
return err == error.ConstraintUnique;
}

Expand Down

0 comments on commit f6ac7b4

Please sign in to comment.