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

Function runContextConvertString

src/hx/cppia/CppiaCtx.cpp:103–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103String runContextConvertString(StackContext *ctx, ExprType inType, void *inFunc)
104{
105 switch(inType)
106 {
107 case etInt: return String(ctx->runInt(inFunc));
108 case etFloat: return String(ctx->runFloat(inFunc));
109 case etObject: return ctx->runObject(inFunc);
110 case etString: return ctx->runString(inFunc);
111 default:
112 ctx->runVoid(inFunc);
113 }
114 return 0;
115}
116
117hx::Object *runContextConvertObject(StackContext *ctx, ExprType inType, void *inFunc)
118{

Callers 2

runStringMethod · 0.85
runStringMethod · 0.85

Calls 6

StringClass · 0.50
runIntMethod · 0.45
runFloatMethod · 0.45
runObjectMethod · 0.45
runStringMethod · 0.45
runVoidMethod · 0.45

Tested by

no test coverage detected