Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
c3f0ee07
Commit
c3f0ee07
authored
Nov 15, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7675 from filnet:msys2
parents
c93fb14d
e79f83e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
system.cpp
modules/core/src/system.cpp
+4
-4
No files found.
modules/core/src/system.cpp
View file @
c3f0ee07
...
...
@@ -621,7 +621,7 @@ String tempfile( const char* suffix )
return
fname
;
}
static
Cv
ErrorCallback
customErrorCallback
=
0
;
static
ErrorCallback
customErrorCallback
=
0
;
static
void
*
customErrorCallbackData
=
0
;
static
bool
breakOnError
=
false
;
...
...
@@ -666,13 +666,13 @@ void error(int _code, const String& _err, const char* _func, const char* _file,
error
(
cv
::
Exception
(
_code
,
_err
,
_func
,
_file
,
_line
));
}
Cv
ErrorCallback
redirectError
(
Cv
ErrorCallback
errCallback
,
void
*
userdata
,
void
**
prevUserdata
)
ErrorCallback
redirectError
(
ErrorCallback
errCallback
,
void
*
userdata
,
void
**
prevUserdata
)
{
if
(
prevUserdata
)
*
prevUserdata
=
customErrorCallbackData
;
Cv
ErrorCallback
prevCallback
=
customErrorCallback
;
ErrorCallback
prevCallback
=
customErrorCallback
;
customErrorCallback
=
errCallback
;
customErrorCallbackData
=
userdata
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment