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

Function fg_retain_plot

src/api/c/plot.cpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36fg_err fg_retain_plot(fg_plot* pOut, fg_plot pIn)
37{
38 try {
39 ARG_ASSERT(1, (pIn!=0));
40
41 common::Plot* temp = new common::Plot(getPlot(pIn));
42 *pOut = getHandle(temp);
43 }
44 CATCHALL
45
46 return FG_ERR_NONE;
47}
48
49fg_err fg_release_plot(fg_plot pPlot)
50{

Callers 1

PlotMethod · 0.85

Calls 2

getPlotFunction · 0.85
getHandleFunction · 0.85

Tested by

no test coverage detected