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

Method sync

dlib/matlab/mex_wrapper.cpp:3065–3079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3063
3064
3065 int sync (
3066 )
3067 {
3068 int num = static_cast<int>(pptr()-pbase());
3069 if (num != 0)
3070 {
3071 check_for_matlab_ctrl_c();
3072
3073 buf[num] = 0; // null terminate the string
3074 mexPrintf("%s",&buf[0]);
3075 mexEvalString("drawnow"); // flush print to screen
3076 pbump(-num);
3077 }
3078 return 0;
3079 }
3080
3081 int_type overflow (
3082 int_type c

Callers

nothing calls this directly

Calls 1

check_for_matlab_ctrl_cFunction · 0.70

Tested by

no test coverage detected