Minor updates for Ruby 3.x.

FossilOrigin-Name: 792a95e73dbfb858dbbd56b1140c2ddf6bc3afb558e65cc665f30fd6db6833e1
This commit is contained in:
Mahlon E. Smith 2022-08-08 23:02:59 +00:00
parent 3cc4fe1e02
commit 442d19ecb5
4 changed files with 4 additions and 7 deletions

View file

@ -860,7 +860,7 @@ static VALUE rmdbx_init_copy( VALUE copy, VALUE orig )
void
rmdbx_init_database()
{
rmdbx_cDatabase = rb_define_class_under( rmdbx_mMDBX, "Database", rb_cData );
rmdbx_cDatabase = rb_define_class_under( rmdbx_mMDBX, "Database", rb_cObject );
#ifdef FOR_RDOC
rmdbx_mMDBX = rb_define_module( "MDBX" );