From f4e5e08a7d3858c47dea10b392be2013975f3919 Mon Sep 17 00:00:00 2001 From: canepat <16927169+canepat@users.noreply.github.com> Date: Thu, 28 Sep 2023 10:25:38 +0200 Subject: [PATCH] save --- mdbx/txn.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mdbx/txn.go b/mdbx/txn.go index 55cb25c..2e04e72 100644 --- a/mdbx/txn.go +++ b/mdbx/txn.go @@ -690,3 +690,7 @@ func (txn *Txn) ListDBI() (res []string, err error) { } return res, nil } + +func (txn *Txn) CHandle() unsafe.Pointer { + return unsafe.Pointer(txn._txn) +}