summaryrefslogtreecommitdiff
path: root/vendor/github.com/ncruces/go-sqlite3/const.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2025-02-13 08:53:40 +0000
committerLibravatar GitHub <noreply@github.com>2025-02-13 09:53:40 +0100
commit24f6760c0e355903458f71e539201c8bf37cfac6 (patch)
treec5f43e72ba452fddceb3c2531a64d4b835246927 /vendor/github.com/ncruces/go-sqlite3/const.go
parent[feature] Implement backfilling statuses thru scheduled_at (#3685) (diff)
downloadgotosocial-24f6760c0e355903458f71e539201c8bf37cfac6.tar.xz
[chore] bump ncruces go-sqlite3 => v0.23.0 (#3785)
* bump ncruces go-sqlite3 => v0.23.0 * whoops, add missing vendor changes...
Diffstat (limited to 'vendor/github.com/ncruces/go-sqlite3/const.go')
-rw-r--r--vendor/github.com/ncruces/go-sqlite3/const.go16
1 files changed, 13 insertions, 3 deletions
diff --git a/vendor/github.com/ncruces/go-sqlite3/const.go b/vendor/github.com/ncruces/go-sqlite3/const.go
index d4908de00..086902a6c 100644
--- a/vendor/github.com/ncruces/go-sqlite3/const.go
+++ b/vendor/github.com/ncruces/go-sqlite3/const.go
@@ -1,6 +1,10 @@
package sqlite3
-import "strconv"
+import (
+ "strconv"
+
+ "github.com/ncruces/go-sqlite3/internal/util"
+)
const (
_OK = 0 /* Successful result */
@@ -12,8 +16,14 @@ const (
_MAX_SQL_LENGTH = 1e9
_MAX_FUNCTION_ARG = 100
- ptrlen = 4
- intlen = 4
+ ptrlen = util.PtrLen
+ intlen = util.IntLen
+)
+
+type (
+ stk_t = util.Stk_t
+ ptr_t = util.Ptr_t
+ res_t = util.Res_t
)
// ErrorCode is a result code that [Error.Code] might return.