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

Function runContextConvertFloat

src/hx/cppia/CppiaCtx.cpp:90–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89
90Float runContextConvertFloat(StackContext *ctx, ExprType inType, void *inFunc)
91{
92 switch(inType)
93 {
94 case etInt: return ctx->runInt(inFunc);
95 case etFloat: return ctx->runFloat(inFunc);
96 case etObject: return ctx->runObject(inFunc);
97 default:
98 ctx->runVoid(inFunc);
99 }
100 return 0;
101}
102
103String runContextConvertString(StackContext *ctx, ExprType inType, void *inFunc)
104{

Callers 1

runFloatMethod · 0.85

Calls 4

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

Tested by

no test coverage detected