mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
core(persistence): fix writeRaw() / readRaw() struct support
- writeRaw(): support structs - readRaw(): 'len' is buffer limit in bytes (documentation is fixed)
This commit is contained in:
committed by
Alexander Alekhin
parent
c3b838b738
commit
4ea8526e9f
@@ -145,7 +145,7 @@ CvGenericHash* cvCreateMap( int flags, int header_size, int elem_size, CvMemStor
|
||||
return map;
|
||||
}
|
||||
|
||||
void icvParseError( CvFileStorage* fs, const char* func_name,
|
||||
void icvParseError(const CvFileStorage* fs, const char* func_name,
|
||||
const char* err_msg, const char* source_file, int source_line )
|
||||
{
|
||||
cv::String msg = cv::format("%s(%d): %s", fs->filename, fs->lineno, err_msg);
|
||||
|
||||
Reference in New Issue
Block a user