| 893 | |
| 894 | template<typename T> |
| 895 | void set(const char* name, T object) |
| 896 | { |
| 897 | if(validate()) |
| 898 | { |
| 899 | lua_pushstring(m_L, name); |
| 900 | push(m_L, object); |
| 901 | lua_settable(m_L, m_index); |
| 902 | } |
| 903 | } |
| 904 | |
| 905 | template<typename T> |
| 906 | T get(const char* name) |
nothing calls this directly
no test coverage detected