| 2343 | |
| 2344 | #ifdef __WIN_DRIVER__ |
| 2345 | void TaseditorDisableManualFunctionIfNeeded() |
| 2346 | { |
| 2347 | if (L) |
| 2348 | { |
| 2349 | // check if LUACALL_TASEDITOR_MANUAL function is not nil |
| 2350 | lua_getfield(L, LUA_REGISTRYINDEX, luaCallIDStrings[LUACALL_TASEDITOR_MANUAL]); |
| 2351 | if (!lua_isfunction(L, -1)) |
| 2352 | taseditor_lua.disableRunFunction(); |
| 2353 | lua_pop(L, 1); |
| 2354 | } else taseditor_lua.disableRunFunction(); |
| 2355 | } |
| 2356 | #elif __QT_DRIVER__ |
| 2357 | void TaseditorDisableManualFunctionIfNeeded() |
| 2358 | { |
no test coverage detected