MCPcopy Create free account
hub / github.com/OSVR/OSVR-Core / osvrClientFreeImage

Function osvrClientFreeImage

src/osvr/ClientKit/ImagingC.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33// - none
34
35OSVR_ReturnCode osvrClientFreeImage(OSVR_ClientContext ctx,
36 OSVR_ImageBufferElement *buf) {
37 auto ret = ctx->releaseObject(buf);
38 return (ret ? OSVR_RETURN_SUCCESS : OSVR_RETURN_FAILURE);
39}

Callers 2

imagingCallbackFunction · 0.85
operator()Method · 0.85

Calls 1

releaseObjectMethod · 0.80

Tested by

no test coverage detected