aboutsummaryrefslogtreecommitdiff
path: root/lib/hooks.go
diff options
context:
space:
mode:
authorJan Mercl <0xjnml@gmail.com>2020-09-08 13:28:55 +0200
committerJan Mercl <0xjnml@gmail.com>2020-09-08 13:28:55 +0200
commit0d7a76444703f3275f151543189c1ee16326e6c2 (patch)
treecae2e524724c6f029b768b579427d1807a80b310 /lib/hooks.go
parent3ff11fb2cf3597e31eb790772bc03fae46e6b029 (diff)
add linux/386 supportv1.6.0
Diffstat (limited to 'lib/hooks.go')
-rw-r--r--lib/hooks.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/hooks.go b/lib/hooks.go
new file mode 100644
index 0000000..9bedb87
--- /dev/null
+++ b/lib/hooks.go
@@ -0,0 +1,14 @@
+// Copyright 2019 The Sqlite Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package sqlite3
+
+import (
+ "modernc.org/libc"
+)
+
+// Format and write a message to the log if logging is enabled.
+func X__ccgo_sqlite3_log(t *libc.TLS, iErrCode int32, zFormat uintptr, va uintptr) { /* sqlite3.c:29405:17: */
+ libc.X__ccgo_sqlite3_log(t, iErrCode, zFormat, va)
+}