a geicko-2 based round robin ranking system designed to test c++ battleship submissions battleship.dunkirk.sh
at main 811 B view raw
1// Copyright (C) 2019 G.J.R. Timmer <gjr.timmer@gmail.com>. 2// Copyright (C) 2018 segment.com <friends@segment.com> 3// 4// Use of this source code is governed by an MIT-style 5// license that can be found in the LICENSE file. 6 7//go:build !sqlite_preupdate_hook && cgo 8// +build !sqlite_preupdate_hook,cgo 9 10package sqlite3 11 12// RegisterPreUpdateHook sets the pre-update hook for a connection. 13// 14// The callback is passed a SQLitePreUpdateData struct with the data for 15// the update, as well as methods for fetching copies of impacted data. 16// 17// If there is an existing preupdate hook for this connection, it will be 18// removed. If callback is nil the existing hook (if any) will be removed 19// without creating a new one. 20func (c *SQLiteConn) RegisterPreUpdateHook(callback func(SQLitePreUpdateData)) { 21 // NOOP 22}