void mlua_regsets(int tk, const char *s)
{
reg_entry_wipe(registry + tk);
registry[tk].type = REG_STR;
registry[tk].s = m_strdup(s);
}
void mlua_regsets(int tk, const char *s)
{
reg_entry_wipe(registry + tk);
registry[tk].type = REG_STR;
registry[tk].s = m_strdup(s);
}