| 101 | } |
| 102 | |
| 103 | void LuaMimoTransform::reset() { |
| 104 | // Construct-new-and-swap: a fresh VM/instance is the only guaranteed-clean reset |
| 105 | // for arbitrary script state (the engine's pre-batch-recompute hook). |
| 106 | rebuildInstance(); |
| 107 | } |
| 108 | |
| 109 | std::vector<PJ::StorageKind> LuaMimoTransform::outputKinds(PJ::Span<const PJ::StorageKind> input_kinds) const { |
| 110 | switch (out_mode_) { |