Start openpose safely
| 459 | extern "C" { |
| 460 | // Start openpose safely |
| 461 | OP_API void _OPRun() |
| 462 | { |
| 463 | try |
| 464 | { |
| 465 | openpose_main(); |
| 466 | } |
| 467 | catch (const std::exception& e) |
| 468 | { |
| 469 | errorDestructor(e.what(), __LINE__, __FUNCTION__, __FILE__); |
| 470 | } |
| 471 | } |
| 472 | |
| 473 | // Stop openpose safely |
| 474 | OP_API void _OPShutdown() |
nothing calls this directly
no test coverage detected