Register a host function which will be invoked before calling a host function.
| 92 | /// Register a host function which will be invoked before calling a |
| 93 | /// host function. |
| 94 | Expect<void> Executor::registerPreHostFunction( |
| 95 | void *HostData = nullptr, std::function<void(void *)> HostFunc = nullptr) { |
| 96 | HostFuncHelper.setPreHost(HostData, HostFunc); |
| 97 | return {}; |
| 98 | } |
| 99 | |
| 100 | /// Register a host function which will be invoked after calling a |
| 101 | /// host function. |
no test coverage detected