#include #include CvRect cvBoundingRect(const void* points, int update) { void *fptr; CvRect retval, *temp; fptr = dlsym(_Chcv_handle, "cvBoundingRect_chdl"); if(fptr == NULL) { fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__, dlerror()); return retval; } dlrunfun(fptr, &temp,cvBoundingRect, points, update); retval = *temp; free(temp); return retval; }