MCPcopy Create free account
hub / github.com/WheretIB/nullc / ArrayCompare

Method ArrayCompare

NULLC/StdLib.cpp:794–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794int NULLC::ArrayCompare(NULLCAutoArray a, NULLCAutoArray b)
795{
796 return a.len == b.len && a.ptr == b.ptr;
797}
798int NULLC::ArrayNCompare(NULLCAutoArray a, NULLCAutoArray b)
799{
800 return a.len != b.len || a.ptr != b.ptr;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected