hack to use libsqlite3

$ go build -tags "libsqlite3 windows"
systemlib
Yasuhiro Matsumoto 2015-06-12 13:26:42 +09:00
parent 542ae647f8
commit ee9da4840d
6 changed files with 155278 additions and 155256 deletions

147782
code/sqlite3-binding.c Normal file

File diff suppressed because it is too large Load Diff

7478
code/sqlite3-binding.h Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

13
sqlite3_libsqlite3.go Normal file
View File

@ -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 libsqlite3
package sqlite3
/*
#cgo CFLAGS: -DUSE_LIBSQLITE3
#cgo LDFLAGS: -lsqlite3
*/
import "C"