MCPcopy Create free account
hub / github.com/defold/defold / ValidateGuard

Function ValidateGuard

engine/dlib/src/dlib/buffer.cpp:231–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 }
230
231 static bool ValidateGuard(void* ptr)
232 {
233 return memcmp(ptr, GUARD_VALUES, GUARD_SIZE) == 0;
234 }
235
236 static Result ValidateBuffer(Buffer* buffer)
237 {

Callers 1

ValidateBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected