LibraryLink`
LibraryLink`

unregisterLibraryCallbackManager (C Function)

is a library callback function that unregisters a library expression manager with name mgr.

Details

  • Used in C/C++ code in a library function called from the Wolfram Language, typically in library uninitialization functions WolframLibrary_uninitialize.
  • A nonzero error code value will be returned if manager mgr is not currently registered.
  • When the manager mgr registered by registerLibraryCallbackManager (mgr, mfun) is unregistered, all callback functions still connected through the manager mgr will be released.