mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
Deprecated convertTypeStr and made new variant that also takes the buffer size
This allows removing the unsafe sprintf.
This commit is contained in:
@@ -697,7 +697,8 @@ protected:
|
||||
Impl* p;
|
||||
};
|
||||
|
||||
CV_EXPORTS const char* convertTypeStr(int sdepth, int ddepth, int cn, char* buf);
|
||||
CV_EXPORTS CV_DEPRECATED const char* convertTypeStr(int sdepth, int ddepth, int cn, char* buf);
|
||||
CV_EXPORTS const char* convertTypeStr(int sdepth, int ddepth, int cn, char* buf, size_t buf_size);
|
||||
CV_EXPORTS const char* typeToStr(int t);
|
||||
CV_EXPORTS const char* memopTypeToStr(int t);
|
||||
CV_EXPORTS const char* vecopTypeToStr(int t);
|
||||
|
||||
Reference in New Issue
Block a user