Change static readonly to const where available
tilkinsc opened this issue · 1 comments
tilkinsc commented
When attempting to do
int status = lua_pcall(L, 0, 0, 0);
switch (status)
{
case LUA_ERRRUN:
break;
}LUA_ERRRUN is required to be a constant. Therefore, this is going to error out. There will be no downsides to converting a lot of variables from static to const.