ReleaseScalarMethod

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

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

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

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

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

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