This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

MTensor_disown


disowns a reference to an MTensor that was passed between a library function and Mathematica using shared memory management.
  • Used in C/C++ code in a library function called from Mathematica.
This disowns an MTensor:
This disowns an MTensor:
MTensor T0;
...
libData->MTensor_disown( T0);