mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Fixed several incorrect printf format specifiers
This commit is contained in:
@@ -392,6 +392,17 @@ template<typename _Tp> static inline _Tp randu()
|
||||
The function acts like sprintf but forms and returns an STL string. It can be used to form an error
|
||||
message in the Exception constructor.
|
||||
@param fmt printf-compatible formatting specifiers.
|
||||
|
||||
**Note**:
|
||||
|Type|Specifier|
|
||||
|-|-|
|
||||
|`const char*`|`%s`|
|
||||
|`char`|`%c`|
|
||||
|`float` / `double`|`%f`,`%g`|
|
||||
|`int`, `long`, `long long`|`%d`, `%ld`, ``%lld`|
|
||||
|`unsigned`, `unsigned long`, `unsigned long long`|`%u`, `%lu`, `%llu`|
|
||||
|`uint64` -> `uintmax_t`, `int64` -> `intmax_t`|`%ju`, `%jd`|
|
||||
|`size_t`|`%zu`|
|
||||
*/
|
||||
CV_EXPORTS String format( const char* fmt, ... ) CV_FORMAT_PRINTF(1, 2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user