MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / runInt

Method runInt

src/hx/cppia/Cppia.cpp:586–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584 }
585
586 int runInt(CppiaCtx *ctx) HXCPP_OVERRIDE
587 {
588 if (condition->getType()==etString)
589 return condition->runString(ctx)==null();
590 else
591 return condition->runObject(ctx)==0;
592 }
593
594 #ifdef CPPIA_JIT
595 JumpId genCompare(CppiaCompiler *compiler,bool inReverse,LabelId inLabel) HXCPP_OVERRIDE

Callers

nothing calls this directly

Calls 4

nullClass · 0.50
getTypeMethod · 0.45
runStringMethod · 0.45
runObjectMethod · 0.45

Tested by

no test coverage detected