MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / ckpt_progress_begin

Function ckpt_progress_begin

common/script/progress_api.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void ckpt_progress_begin(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
55{
56 const ScriptArgs args(Parser, Param, NumArgs, "progress_begin");
57 const size_t layer = layerArg(args);
58 const char* label = args.strOr(1, "");
59 ScriptConsole::get().beginLayer(layer, label, args.num(2));
60}
61
62void ckpt_progress_set(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
63{

Callers

nothing calls this directly

Calls 5

layerArgFunction · 0.85
getFunction · 0.85
strOrMethod · 0.80
beginLayerMethod · 0.80
numMethod · 0.80

Tested by

no test coverage detected