MCPcopy Create free account
hub / github.com/axmolengine/axmol / IsValidOwner

Function IsValidOwner

3rdparty/clipper2/src/clipper.engine.cpp:418–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416 }
417
418 inline bool IsValidOwner(OutRec* outrec, OutRec* testOwner)
419 {
420 // prevent outrec owning itself either directly or indirectly
421 while (testOwner && testOwner != outrec) testOwner = testOwner->owner;
422 return !testOwner;
423 }
424
425 inline void UncoupleOutRec(Active ae)
426 {

Callers 1

CheckSplitOwnerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected