LibraryLink`
LibraryLink`

MNumericArray_disownAll (C 函数)

disowns all references to an MNumericArray that was passed between a library function and the Wolfram Language using shared memory management.

更多信息

  • Used in C/C++ code in a library function called from the Wolfram Language.

范例

基本范例  (1)

This disowns an MNumericArray:

MNumericArray A0;
...
libData->numericarrayLibraryFunctions->MNumericArray_disownAll(A0);