| 904 | |
| 905 | template<typename T> |
| 906 | T get(const char* name) |
| 907 | { |
| 908 | if(validate()) |
| 909 | { |
| 910 | lua_pushstring(m_L, name); |
| 911 | lua_gettable(m_L, m_index); |
| 912 | } |
| 913 | else |
| 914 | { |
| 915 | lua_pushnil(m_L); |
| 916 | } |
| 917 | |
| 918 | return pop<T>(m_L); |
| 919 | } |
| 920 | |
| 921 | lua_State* m_L; |
| 922 | int m_index; |
nothing calls this directly
no test coverage detected