Commit d9638f22 authored by Davis King's avatar Davis King

Made check_for_ctrl_c() available outside matlab build system.

parent 682c1129
......@@ -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__
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment