func (opts *TransactionOptions) SetDeadlockDetectDepth(depth int64) {
	C.rocksdb_transaction_options_set_deadlock_detect_depth(opts.c, C.int64_t(depth))
}
SetDeadlockDetectDepth sets the number of traversals to make during deadlock detection.
package gorocksdb
import "C"
type TransactionOptions struct {
	c *C.rocksdb_transaction_options_t
}
func NewDefaultTransactionOptions() *TransactionOptions {
	return NewNativeTransactionOptions(C.rocksdb_transaction_options_create())
}
func NewNativeTransactionOptions(c *C.rocksdb_transaction_options_t) *TransactionOptions {
	return &TransactionOptions{c}
}
func (opts *TransactionOptions) SetSetSnapshot(value bool) {
	C.rocksdb_transaction_options_set_set_snapshot(opts.c, boolToChar(value))
}
func (opts *TransactionOptions) SetDeadlockDetect(value bool) {
	C.rocksdb_transaction_options_set_deadlock_detect(opts.c, boolToChar(value))
}
func (opts *TransactionOptions) SetLockTimeout(lock_timeout int64) {
	C.rocksdb_transaction_options_set_lock_timeout(opts.c, C.int64_t(lock_timeout))
}
func (opts *TransactionOptions) SetExpiration(expiration int64) {
	C.rocksdb_transaction_options_set_expiration(opts.c, C.int64_t(expiration))
}