MCPcopy Create free account
hub / github.com/arrayfire/forge / fg_retain_image

Function fg_retain_image

src/api/c/image.cpp:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38fg_err fg_retain_image(fg_image* pOut, fg_image pImage)
39{
40 try {
41 ARG_ASSERT(1, (pImage!=0));
42
43 common::Image* temp = new common::Image(pImage);
44 *pOut = getHandle(temp);
45 }
46 CATCHALL
47
48 return FG_ERR_NONE;
49}
50
51fg_err fg_release_image(fg_image pImage)
52{

Callers 1

ImageMethod · 0.85

Calls 1

getHandleFunction · 0.85

Tested by

no test coverage detected