unregisterLibraryExpressionManager (C Function)

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


  • 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 registerLibraryExpressionManager(mgr, manageFun) unregistered, manageFun will be called with mode 1 for all values of id that have been generated by evaluating that have not already been released.