a geicko-2 based round robin ranking system designed to test c++ battleship submissions battleship.dunkirk.sh
at main 555 B view raw
1//go:build libsqlite3 && !sqlite_serialize 2// +build libsqlite3,!sqlite_serialize 3 4package sqlite3 5 6import ( 7 "errors" 8) 9 10/* 11#cgo CFLAGS: -DSQLITE_OMIT_DESERIALIZE 12*/ 13import "C" 14 15func (c *SQLiteConn) Serialize(schema string) ([]byte, error) { 16 return nil, errors.New("sqlite3: Serialize requires the sqlite_serialize build tag when using the libsqlite3 build tag") 17} 18 19func (c *SQLiteConn) Deserialize(b []byte, schema string) error { 20 return errors.New("sqlite3: Deserialize requires the sqlite_serialize build tag when using the libsqlite3 build tag") 21}