Fixed standalone build, added cv::gapi::proto::ptr test

This commit is contained in:
Ruslan Garnov
2020-04-07 00:34:29 +03:00
parent b1f42a6506
commit ce772b346c
7 changed files with 53 additions and 4 deletions
-1
View File
@@ -266,7 +266,6 @@ std::ostream& operator<<(std::ostream& os, const cv::GMetaArg &arg)
}
} // namespace cv
// TODO: This function requires thorough testing
const void* cv::gimpl::proto::ptr(const GRunArgP &arg)
{
switch (arg.index())
+2 -1
View File
@@ -28,7 +28,8 @@ GAPI_EXPORTS const GOrigin& origin_of (const GArg &arg);
bool is_dynamic(const GArg &arg);
GProtoArg rewrap (const GArg &arg);
const void* ptr (const GRunArgP &arg);
// FIXME:: GAPI_EXPORTS because of tests only!!
GAPI_EXPORTS const void* ptr (const GRunArgP &arg);
} // proto
} // gimpl