| 73 | } |
| 74 | |
| 75 | int Lua::Input::clear(lua_State *L) |
| 76 | { |
| 77 | if (!ai) { |
| 78 | std::cerr << "Lua input function was called outside onInput() callback!" << std::endl; |
| 79 | return 0; |
| 80 | } |
| 81 | ai->clear(); |
| 82 | modified = true; |
| 83 | return 0; |
| 84 | } |
| 85 | |
| 86 | int Lua::Input::setKey(lua_State *L) |
| 87 | { |
no outgoing calls
no test coverage detected