diff options
author | EuAndreh <eu@euandre.org> | 2025-05-27 20:58:35 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-05-29 05:44:21 -0300 |
commit | 170dfdf2783c8c2431861f77193c92f40860ea07 (patch) | |
tree | 8769850dae369cef1e1decd2d8ed8d394773d98f /src/golite.go | |
parent | meta.capim: Add with :dependencies key (diff) | |
download | golite-main.tar.gz golite-main.tar.xz |
Diffstat (limited to '')
-rw-r--r-- | src/golite.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/golite.go b/src/golite.go index 0229229..5648408 100644 --- a/src/golite.go +++ b/src/golite.go @@ -17,6 +17,8 @@ import ( "time" "unsafe" "syscall" + + gt "gotext" ) @@ -170,7 +172,7 @@ func newHandle(db *SQLiteConn, v any) unsafe.Pointer { val := handleVal{db: db, val: v} p := C.malloc(C.size_t(1)) if p == nil { - panic("can't allocate 'cgo-pointer hack index pointer': ptr == nil") + panic(gt.Gettext("can't allocate 'cgo-pointer hack index pointer': ptr == nil")) } { handleLock.Lock() |