ruby-mdbx/ext/mdbx_ext/mdbx_ext.h
mahlon@martini.nu 770a931d77 Multiple changes.
- Add build manifests for SourceHut.
  - Update README destination links.
  - Fix manifest for prerelease gem.
  - Reopen env handles when #clear is successful.
  - Fix #each when there is only one key.
  - Always use io_vec lengths when creating new strings.
  - Hook for rdoc generation.
  - Rename #open to #reopen, don't alias it.
  - Add a Rollback exception for upcoming transaction block work

FossilOrigin-Name: d6ddedc51b0ac67f395d5749aa3e6adbeebdaf2843c6402ace757b0afffc2be9
2020-12-22 06:24:18 +00:00

29 lines
631 B
C

#include <ruby.h>
#include "extconf.h"
#include "mdbx.h"
#ifndef MDBX_EXT_0_9_2
#define MDBX_EXT_0_9_2
/* ------------------------------------------------------------
* Globals
* ------------------------------------------------------------ */
extern VALUE rmdbx_mMDBX;
extern VALUE rmdbx_cDatabase;
extern VALUE rmdbx_eDatabaseError;
extern VALUE rmdbx_eRollback;
/* ------------------------------------------------------------
* Functions
* ------------------------------------------------------------ */
extern void Init_rmdbx ( void );
extern void rmdbx_init_database ( void );
#endif /* define MDBX_EXT_0_9_2 */