Recently, I try to find out the source code of the “calcOpticalFlowPyrLK” function in OpenCV library. When I searched it’s definition, I found a macro named “CV_EXPORTS_W”. Anybody knows it’s meaning?
Recently, I try to find out the source code of the calcOpticalFlowPyrLK function in
Share
CV_EXPORTS_Wis defined in modules/core/include/opencv2/core/types_c.h as an alias forCV_EXPORTS, and in the same fileCV_EXPORTSis defined as:In other words, it’s an alias for
__declspec(dllexport)on a windows platform whereCVAPI_EXPORTSis defined, otherwise it’s empty.