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

Function runContextConvertInt

src/hx/cppia/CppiaCtx.cpp:76–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75
76int runContextConvertInt(StackContext *ctx, ExprType inType, void *inFunc)
77{
78 switch(inType)
79 {
80 case etInt: return ctx->runInt(inFunc);
81 case etFloat: return ctx->runFloat(inFunc);
82 case etObject: return ctx->runObject(inFunc);
83 default:
84 ctx->runVoid(inFunc);
85 }
86 return 0;
87}
88
89
90Float runContextConvertFloat(StackContext *ctx, ExprType inType, void *inFunc)

Callers 1

runIntMethod · 0.85

Calls 4

runIntMethod · 0.45
runFloatMethod · 0.45
runObjectMethod · 0.45
runVoidMethod · 0.45

Tested by

no test coverage detected