aboutsummaryrefslogtreecommitdiff
path: root/sqlite3_opt_introspect.go
diff options
context:
space:
mode:
authorGert-Jan Timmer <gjr.timmer@gmail.com>2018-05-23 22:21:11 +0200
committerGert-Jan Timmer <gjr.timmer@gmail.com>2018-05-23 22:21:11 +0200
commitbdda6e10e3e81e0e81c629d80fd384f680cbdf67 (patch)
tree2bc475c2aafa57f4217d28987f911a5f3881ce3f /sqlite3_opt_introspect.go
parentAdd: SQLITE_DEFAULT_FOREIGN_KEYS (diff)
downloadgolite-bdda6e10e3e81e0e81c629d80fd384f680cbdf67.tar.gz
golite-bdda6e10e3e81e0e81c629d80fd384f680cbdf67.tar.xz
Add: SQLITE_INTROSPECTION_PRAGMAS
Diffstat (limited to 'sqlite3_opt_introspect.go')
-rw-r--r--sqlite3_opt_introspect.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/sqlite3_opt_introspect.go b/sqlite3_opt_introspect.go
new file mode 100644
index 0000000..5d692a7
--- /dev/null
+++ b/sqlite3_opt_introspect.go
@@ -0,0 +1,13 @@
+// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
+//
+// Use of this source code is governed by an MIT-style
+// license that can be found in the LICENSE file.
+// +build introspect
+
+package sqlite3
+
+/*
+#cgo CFLAGS: -DSQLITE_INTROSPECTION_PRAGMAS
+#cgo LDFLAGS: -lm
+*/
+import "C"