implemented static linking of awk modules

This commit is contained in:
2013-02-01 14:30:25 +00:00
parent 710a425fb7
commit 7aa63462f1
23 changed files with 530 additions and 116 deletions

View File

@ -313,7 +313,7 @@ static qse_rbt_walk_t unload_module (qse_rbt_t* rbt, qse_rbt_pair_t* pair, void*
md = QSE_RBT_VPTR(pair);
if (md->mod.unload) md->mod.unload (&md->mod, awk);
awk->prm.modclose (awk, md->handle);
if (md->handle) awk->prm.modclose (awk, md->handle);
return QSE_RBT_WALK_FORWARD;
}