MSymbol key = msymbol (name);
void *mdb;
- if (mdatabase__finder)
- mdb = (*mdatabase__finder) (Mchar_table, type, key, Mnil);
- else
- mdb = NULL;
+ mdb = mdatabase_find (Mchar_table, type, key, Mnil);
+ if (! mdb)
+ return Mnil;
mchar__define_prop (key, type, mdb);
return key;
}
return NULL;
if (record->mdb)
{
- record->table = (*mdatabase__loader) (record->mdb);
+ record->table = mdatabase_load (record->mdb);
if (! record->table)
MERROR (MERROR_DB, NULL);
record->mdb = NULL;
return -1;
if (record->mdb)
{
- record->table = (*mdatabase__loader) (record->mdb);
+ record->table = mdatabase_load (record->mdb);
if (! record->table)
MERROR (MERROR_DB, -1);
record->mdb = NULL;
return NULL;
if (record->mdb)
{
- record->table = (*mdatabase__loader) (record->mdb);
+ record->table = mdatabase_load (record->mdb);
if (! record->table)
MERROR (MERROR_DB, NULL);
record->mdb = NULL;