MCPcopy Create free account
hub / github.com/RenderKit/oidn / checkHandle

Function checkHandle

api/api.cpp:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 namespace
72 {
73 oidn_inline void checkHandle(void* handle)
74 {
75 if (handle == nullptr)
76 throw Exception(Error::InvalidArgument, "handle is null");
77 }
78
79 oidn_inline void checkString(const char* str)
80 {

Callers 1

oidnSetFilterImageFunction · 0.85

Calls 1

ExceptionFunction · 0.85

Tested by

no test coverage detected