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

Function fg_retain_histogram

src/api/c/histogram.cpp:32–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32fg_err fg_retain_histogram(fg_histogram* pOut, fg_histogram pIn)
33{
34 try {
35 ARG_ASSERT(1, (pIn!=0));
36
37 common::Histogram* temp = new common::Histogram(getHistogram(pIn));
38 *pOut = getHandle(temp);
39 }
40 CATCHALL
41
42 return FG_ERR_NONE;
43}
44
45fg_err fg_release_histogram(fg_histogram pHistogram)
46{

Callers 1

HistogramMethod · 0.85

Calls 2

getHistogramFunction · 0.85
getHandleFunction · 0.85

Tested by

no test coverage detected