registerLibraryCallbackManager


is a library callback function that registers a library callback manager name mgr with the function mfun.

DetailsDetails

  • Used in C/C++ code in a library function called from Mathematica, typically in library initialization functions WolframLibrary_initialize.
  • A nonzero error code value will be returned if manager mgr is already registered.
  • The function specified by mfun will be called with a unique positive integer id when expr=ConnectLibraryCallbackFunction[mgr,] is evaluated.