MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / luaClearPlots

Function luaClearPlots

app/src/DataModel/Scripting/DashboardApi.cpp:187–193  ·  view source on GitHub ↗

* @brief Lua entry for clearPlots() returning {ok, error?}. */

Source from the content-addressed store, hash-verified

185 * @brief Lua entry for clearPlots() returning {ok, error?}.
186 */
187static 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?}.

Callers

nothing calls this directly

Calls 2

coreClearPlotsFunction · 0.85
pushLuaResultFunction · 0.70

Tested by

no test coverage detected