0
0
mirror of https://github.com/mattn/go-sqlite3.git synced 2024-11-07 05:18:43 +00:00
go-sqlite3/sqlite3_opt_foreign_keys.go
Yasuhiro Matsumoto 1f0dc0a0ef go fmt ./...
2024-01-25 22:55:22 +09:00

17 lines
391 B
Go

// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
// Copyright (C) 2018 G.J.R. Timmer <gjr.timmer@gmail.com>.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
//go:build sqlite_foreign_keys
// +build sqlite_foreign_keys
package sqlite3
/*
#cgo CFLAGS: -DSQLITE_DEFAULT_FOREIGN_KEYS=1
#cgo LDFLAGS: -lm
*/
import "C"