1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #19137 from VadimLevin:dev/vlevin/safe-string-conversion

This commit is contained in:
Alexander Alekhin
2020-12-18 11:20:50 +00:00
3 changed files with 38 additions and 2 deletions
@@ -58,6 +58,12 @@ String dumpCString(const char* argument)
return cv::format("String: %s", argument);
}
CV_WRAP static inline
String dumpString(const String& argument)
{
return cv::format("String: %s", argument.c_str());
}
CV_WRAP static inline
AsyncArray testAsyncArray(InputArray argument)
{