Lindenii Project Forge
Login

hare-lmdb

Hare bindings for LMDB
Commit info
ID
736ba35cf030f317902247b3209a8fe6d8d8740e
Author
Runxi Yu <me@runxiyu.org>
Author date
Sat, 15 Mar 2025 20:04:12 +0800
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Sat, 15 Mar 2025 20:04:12 +0800
Actions
Add common types
use lmdb::ffi;

// Opaque structure for a database environment.
//
// A DB environment supports multiple databases, all residing in the same
// shared-memory map.
export type env = ffi::env;

// A handle for an individual database in the DB environment.
export type dbi = ffi::dbi;

// Opaque structure for a transaction handle.
export type txn = ffi::txn;

// Opaque structure for navigating through a database.
export type cursor = ffi::cursor;