Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
d9638f22
Commit
d9638f22
authored
Feb 11, 2016
by
Davis King
Browse files
Made check_for_ctrl_c() available outside matlab build system.
parent
682c1129
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
dlib/matlab/call_matlab.h
dlib/matlab/call_matlab.h
+7
-0
No files found.
dlib/matlab/call_matlab.h
View file @
d9638f22
...
@@ -520,5 +520,12 @@ void call_matlab (
...
@@ -520,5 +520,12 @@ void call_matlab (
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
// We define this function here so that, if you write some code that has check_for_ctrl_c()
// sprinkled throughout it you can still compile that code outside the mex wrapper
// environment and these calls will simply be no-ops.
#ifndef MATLAB_MEX_FILE
inline
void
check_for_ctrl_c
()
{}
#endif
#endif // MIT_LL_CALL_MATLAB_H__
#endif // MIT_LL_CALL_MATLAB_H__
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