about summary refs log tree commit diff
path: root/vendor/modernc.org/sqlite/lib/defs.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/sqlite/lib/defs.go')
-rw-r--r--vendor/modernc.org/sqlite/lib/defs.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/modernc.org/sqlite/lib/defs.go b/vendor/modernc.org/sqlite/lib/defs.go
new file mode 100644
index 0000000..71557d8
--- /dev/null
+++ b/vendor/modernc.org/sqlite/lib/defs.go
@@ -0,0 +1,16 @@
+// Copyright 2022 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
+
+const (
+	SQLITE_STATIC    = uintptr(0)  // ((sqlite3_destructor_type)0)
+	SQLITE_TRANSIENT = ^uintptr(0) // ((sqlite3_destructor_type)-1)
+)
+
+type (
+	Sqlite3_index_constraint       = sqlite3_index_constraint
+	Sqlite3_index_orderby          = sqlite3_index_orderby
+	Sqlite3_index_constraint_usage = sqlite3_index_constraint_usage
+)