| 29 | } |
| 30 | |
| 31 | void CFunctionHandler::__Attach(HSCRIPT hScript) |
| 32 | { |
| 33 | m_pLS=(lua_State *)hScript; |
| 34 | //m_nFunctionID = static_cast<int>(lua_tonumber(m_pLS,-2)); |
| 35 | //m_pThisPtr=lua_touserdata(m_pLS,-1); |
| 36 | //lua_pop(m_pLS, 2); |
| 37 | } |
| 38 | |
| 39 | /*THIS_PTR CFunctionHandler::GetThis() |
| 40 | { |