ReleaseArrayMethod

Applies to:Fast Math Parser
Class:uCalc.DataType
Releases an array that was allocated with AllocArray
Syntax
ReleaseArray(ValuePtr)
Parameters
ValuePtr
Pointer of uCalc array to be released from memory
Returns
Nothing
Remarks
This should only be used for arrays that were explicitly allocated with uCalc's AllocArray.
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="ReleaseArray")> _

Private Sub ReleaseArray__(ByVal DataTypeHandle As IntPtr,ByVal ValuePtr As IntPtr)
End Sub
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="ReleaseArray")]

protected static extern  void ReleaseArray_(IntPtr DataTypeHandle, IntPtr ValuePtr);
            
{DLLImport}procedure ReleaseArray__(DataTypeHandle: System.Pointer;ValuePtr: System.Pointer); cdecl; external uCalcDLL name 'ReleaseArray';

            
typedef  void (* __ReleaseArray)(void *DataTypeHandle, void * ValuePtr); 

            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "ReleaseArray")]

static void ReleaseArray_(void *  DataTypeHandle, void *   ValuePtr);
            
Prev | Next