From c5ff80d7a812e46daa1551af04e71ab079853247 Mon Sep 17 00:00:00 2001 From: Gert-Jan Timmer Date: Wed, 23 May 2018 22:21:22 +0200 Subject: [PATCH] Add: SQLITE_SECURE_DELETE --- sqlite3_opt_secure_delete.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 sqlite3_opt_secure_delete.go diff --git a/sqlite3_opt_secure_delete.go b/sqlite3_opt_secure_delete.go new file mode 100644 index 0000000..c3bb4ad --- /dev/null +++ b/sqlite3_opt_secure_delete.go @@ -0,0 +1,13 @@ +// Copyright (C) 2014 Yasuhiro Matsumoto . +// +// Use of this source code is governed by an MIT-style +// license that can be found in the LICENSE file. +// +build secure_delete + +package sqlite3 + +/* +#cgo CFLAGS: -DSQLITE_SECURE_DELETE +#cgo LDFLAGS: -lm +*/ +import "C"