| 74 | |
| 75 | |
| 76 | int 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 | |
| 90 | Float runContextConvertFloat(StackContext *ctx, ExprType inType, void *inFunc) |