LibraryLink`
LibraryLink`

MImage_disownAll

disowns all references to an MImage that were passed between a library function and Mathematica using shared memory management.

Details

  • Used in C/C++ code in a library function called from Mathematica.

Examples

Basic Examples  (1)

This disowns an MImage:

MImage I0;
...
libData->MImage_disownAll(I0);

Tutorials