ResetScalarMethod

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
ResetScalar(ValuePtr)
Parameters
ValuePtr
Pointer of the uCalc scalar to be reset
Returns
Nothing
Remarks
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="ResetScalar")> _

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

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

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

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

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