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

Method runInt

src/hx/cppia/Cppia.cpp:625–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623 CppiaExpr *link(CppiaModule &inModule) HXCPP_OVERRIDE { condition = condition->link(inModule); return this; }
624
625 int runInt(CppiaCtx *ctx) HXCPP_OVERRIDE
626 {
627 if (condition->getType()==etString)
628 return condition->runString(ctx)!=null();
629 else
630 return condition->runObject(ctx)!=0;
631 }
632
633
634 #ifdef CPPIA_JIT

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