MCPcopy Create free account
hub / github.com/davisking/dlib / sync

Method sync

dlib/matlab/mex_wrapper.cpp:3123–3137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3121
3122
3123 int sync (
3124 )
3125 {
3126 int num = static_cast<int>(pptr()-pbase());
3127 if (num != 0)
3128 {
3129 check_for_matlab_ctrl_c();
3130
3131 buf[num] = 0; // null terminate the string
3132 mexWarnMsgTxt(&buf[0]);
3133 mexEvalString("drawnow"); // flush print to screen
3134 pbump(-num);
3135 }
3136 return 0;
3137 }
3138
3139 int_type overflow (
3140 int_type c

Callers

nothing calls this directly

Calls 1

check_for_matlab_ctrl_cFunction · 0.70

Tested by

no test coverage detected