* @brief Lua entry for clearPlots() returning {ok, error?}. */
| 185 | * @brief Lua entry for clearPlots() returning {ok, error?}. |
| 186 | */ |
| 187 | static int luaClearPlots(lua_State* L) |
| 188 | { |
| 189 | QString errorMsg; |
| 190 | const bool ok = coreClearPlots(errorMsg); |
| 191 | pushLuaResult(L, ok, errorMsg); |
| 192 | return 1; |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * @brief Lua entry for setPlotPoints(n) returning {ok, error?}. |
nothing calls this directly
no test coverage detected