| 131 | } |
| 132 | |
| 133 | int lua_scripts::atpanic(lua_State *L) { |
| 134 | set_and_print_new_error_message(MAV_SEVERITY_CRITICAL, "Panic: %s", get_error_object_message(L)); |
| 135 | longjmp(panic_jmp, 1); |
| 136 | return 0; |
| 137 | } |
| 138 | |
| 139 | // helper for print and log of runtime stats |
| 140 | void lua_scripts::update_stats(const char *name, uint32_t run_time, int total_mem, int run_mem) |
nothing calls this directly
no test coverage detected