| 78 | } |
| 79 | |
| 80 | void ForLoop(OsiArgumentDesc const & args) |
| 81 | { |
| 82 | auto eventName = args[0].String; |
| 83 | auto count = args[1].Int32; |
| 84 | |
| 85 | for (int32_t index = 0; index < count; index++) { |
| 86 | auto eventArgs = OsiArgumentDesc::Create(OsiArgumentValue{ ValueType::String, eventName }); |
| 87 | eventArgs->Add(OsiArgumentValue{ (int64_t)index }); |
| 88 | |
| 89 | gOsirisProxy->GetCustomFunctionInjector().ThrowEvent(ForLoopEventHandle, eventArgs); |
| 90 | |
| 91 | delete eventArgs; |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | void ForLoopObject(OsiArgumentDesc const & args) |
| 96 | { |
nothing calls this directly
no test coverage detected