1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-18 00:05:13 +00:00

Add sqlite3 native module to repo.

This commit is contained in:
Calvin Rose
2018-05-05 23:51:29 -04:00
parent 06b80e56eb
commit 181a38f412
8 changed files with 221306 additions and 5 deletions

View File

@@ -257,9 +257,9 @@ int dst_arity_err(DstArgs args, int32_t n, const char *prefix) {
prefix, n, n == 1 ? "" : "s", args.n)));
}
int dst_typeabstract_err(DstArgs args, int32_t n, DstAbstractType *at) {
int dst_typeabstract_err(DstArgs args, int32_t n, const DstAbstractType *at) {
return dst_throwv(args,
dst_wrap_string(dst_formatc(
"bad argument #%d, expected %t, got %s",
"bad argument #%d, expected %s, got %s",
n, at->name, typestr(args, n))));
}