ResetArrayMethod

Applies to:Fast Math Parser
Class:uCalc.DataType
Resets the value of data that was allocated with SetScalar to the default value of the given data type
Syntax
ResetArray(ValuePtr)
Parameters
ValuePtr
Pointer of the uCalc array to be reset
Returns
Nothing
Remarks
Resets all the elements of the array to the default value for the given data type. 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:="ResetArray")> _

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

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

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

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

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