| 197 | } |
| 198 | |
| 199 | void CScriptObject::SetValueChain(const char *sKey, int nVal) |
| 200 | { |
| 201 | lua_pushstring(m_pLS, sKey); |
| 202 | lua_pushnumber(m_pLS, (lua_Number)nVal); |
| 203 | SET_FUNCTION(m_pLS, - 3); |
| 204 | } |
| 205 | |
| 206 | void CScriptObject::SetValue(const char *sKey, int nVal) |
| 207 | { |
no test coverage detected