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

Function StdlibRealloc

common/script/cstdlib/stdlib.c:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59void StdlibRealloc(
60 struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
61{
62 ReturnValue->Val->Pointer = ckpt_script_realloc(Param[0]->Val->Pointer, Param[1]->Val->Integer);
63}
64
65void StdlibFree(
66 struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)

Callers

nothing calls this directly

Calls 1

ckpt_script_reallocFunction · 0.85

Tested by

no test coverage detected