[Home] Module Microsoft.FSharp.Compatibility.Array2D


Values

ValueDescription
[<UnverifiableAttribute (); NoDynamicInvocationAttribute ()>]
val pin : 'T [,] -> (nativeptr<'T> -> 'b) -> 'b
Pin the given array for the duration of a single call to the given function. A native pointer to the first element in the array is passed to the given function. Cleanup the GCHandle associated with the pin when the function completes, even if an exception is raised.
[<UnverifiableAttribute (); NoDynamicInvocationAttribute ()>]
val pinUnscoped : 'T [,] -> nativeptr<'T> * GCHandle
As for Array2D.pin, except that the caller is responsible for calling Free on the returned GCHandle in order to release the pin.

See Also

Microsoft.FSharp.Compatibility


Documentation for assembly FSharp.PowerPack, version 1.9.6.16, generated using F# Programming Language version 1.9.6.16