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

Function ckpt_sav_commit

common/script/checkpoint_api.cpp:370–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370void ckpt_sav_commit(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
371{
372 const int handle = savArg(ScriptArgs(Parser, Param, NumArgs, "sav_commit"), 0);
373 ReturnValue->Val->Integer = host().savCommit(handle);
374}
375
376void ckpt_sav_close(struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
377{

Callers

nothing calls this directly

Calls 3

savArgFunction · 0.85
ScriptArgsClass · 0.85
savCommitMethod · 0.45

Tested by

no test coverage detected