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

Function StringMemcmp

common/script/cstdlib/string.c:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void StringMemcmp(
96 struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)
97{
98 ReturnValue->Val->Integer =
99 memcmp(Param[0]->Val->Pointer, Param[1]->Val->Pointer, Param[2]->Val->Integer);
100}
101
102void StringMemmove(
103 struct ParseState* Parser, struct Value* ReturnValue, struct Value** Param, int NumArgs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected