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

Function assign_function_handle

dlib/matlab/mex_wrapper.cpp:537–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535// -------------------------------------------------------
536
537 void assign_function_handle (
538 const long arg_idx,
539 function_handle& dest,
540 const mxArray* src
541 )
542 {
543 const_cast<void*&>(dest.h) = (void*)src;
544 }
545
546 template <
547 typename T

Callers 1

Calls 1

Tested by

no test coverage detected