| 77 | } |
| 78 | |
| 79 | oidn_inline void checkString(const char* str) |
| 80 | { |
| 81 | if (str == nullptr) |
| 82 | throw Exception(Error::InvalidArgument, "string pointer is null"); |
| 83 | } |
| 84 | |
| 85 | template<typename T> |
| 86 | oidn_inline Device* getDevice(T* obj) |
no test coverage detected