| 309 | return (inValue->split(*sep)).mPtr; |
| 310 | } |
| 311 | void genCode(CppiaCompiler *compiler, const JitVal &inDest,ExprType destType) HXCPP_OVERRIDE |
| 312 | { |
| 313 | JitTemp value(compiler,jtString); |
| 314 | JitTemp sep(compiler,jtString); |
| 315 | |
| 316 | strVal->genCode(compiler, value, etString); |
| 317 | a0->genCode(compiler, sep, etString); |
| 318 | compiler->callNative( (void *)runSplit, value, sep ); |
| 319 | compiler->convertReturnReg(etObject, inDest, destType); |
| 320 | } |
| 321 | #endif |
| 322 | |
| 323 | }; |