LibraryLink`
LibraryLink`registerLibraryCallbackManager (C Function)
is a library callback function that registers a library callback manager name mgr with the function mfun.
Details
- Used in C/C++ code in a library function called from the Wolfram Language, 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.