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

Function fg_retain_window

src/api/c/window.cpp:47–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47fg_err fg_retain_window(fg_window *pOut, fg_window pWindow)
48{
49 try {
50 ARG_ASSERT(1, (pWindow!=0));
51
52 common::Window* temp = new common::Window(pWindow);
53 *pOut = getHandle(temp);
54 }
55 CATCHALL
56
57 return FG_ERR_NONE;
58}
59
60fg_err fg_release_window(fg_window pWindow)
61{

Callers 1

WindowMethod · 0.85

Calls 1

getHandleFunction · 0.85

Tested by

no test coverage detected