Update the changelog
[opencv] / interfaces / ch / chfhandmade / cvGet3D.chf
1 #include <cv.h>
2 #include <dlfcn.h>
3
4 CvScalar cvGet3D(const CvArr* arr, int idx1, int idx2, int idx3) {
5     void *fptr;
6     CvScalar retval, *temp;
7
8     fptr = dlsym(_Chcv_handle, "cvGet3D_chdl");
9     if(fptr == NULL) {
10         fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
11         return retval;
12     }
13     dlrunfun(fptr, &temp,cvGet3D, arr, idx1, idx2, idx3);
14     retval = *temp;
15     free(temp);
16     return retval;
17 }