releaseElements

Informs the VM that the native code no longer needs access to elems. The elems argument is a pointer derived from the receiver using the getElements function. If necessary, this function copies back all changes made to elems to the original array.

The mode argument provides information on how the array buffer should be released. mode has no effect if elems is not a copy of the elements in the receiver. Otherwise, mode has the following impact:


Informs the VM that the native code no longer needs access to elems. The elems argument is a pointer derived from the receiver using the getElements function. If necessary, this function copies back all changes made to elems to the original array.

The mode argument provides information on how the array buffer should be released. mode has no effect if elems is not a copy of the elements in the receiver Otherwise, mode has the following impact: