MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / errHandler

Function errHandler

include/internal/CL/cl.hpp:330–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328{
329#if defined(__CL_ENABLE_EXCEPTIONS)
330static inline cl_int errHandler (
331 cl_int err,
332 const char * errStr = NULL)
333{
334 if (err != CL_SUCCESS) {
335 throw Error(err, errStr);
336 }
337 return err;
338}
339#else
340static inline cl_int errHandler (cl_int err, const char * errStr = NULL)
341{

Callers 15

push_backFunction · 0.85
pop_backFunction · 0.85
resizeFunction · 0.85
WrapperMethod · 0.85
WrapperClass · 0.85
WrapperMethod · 0.85
getInfoMethod · 0.85
createSubDevicesMethod · 0.85
getInfoMethod · 0.85
getDevicesMethod · 0.85
getMethod · 0.85

Calls 1

ErrorClass · 0.85

Tested by

no test coverage detected