| 126 | return ValToInt(elem); |
| 127 | } |
| 128 | Float runFloat(CppiaCtx *ctx) HXCPP_OVERRIDE |
| 129 | { |
| 130 | Array_obj<ELEM> *thisVal = reinterpret_cast<Array_obj<ELEM>*>(thisExpr->runObject(ctx)); |
| 131 | BCR_CHECK; |
| 132 | int i = args[0]->runInt(ctx); |
| 133 | BCR_CHECK; |
| 134 | ELEM &elem = thisVal->Item(i); |
| 135 | FUNC::run(elem, ctx, args[1]); |
| 136 | #ifdef HXCPP_GC_GENERATIONAL |
| 137 | if (hx::ContainsPointers<ELEM>()) |
| 138 | HX_OBJ_WB_CTX(thisVal,hx::PointerOf(elem),ctx); |
| 139 | #endif |
| 140 | return ValToFloat(elem); |
| 141 | } |
| 142 | String runString(CppiaCtx *ctx) HXCPP_OVERRIDE |
| 143 | { |
| 144 | Array_obj<ELEM> *thisVal = reinterpret_cast<Array_obj<ELEM>*>(thisExpr->runObject(ctx)); |
nothing calls this directly
no test coverage detected