HandleMethod

Applies to:Fast Math Parser
Class:uCalc.Callback
Returns the handle of the sub expression passed to the callback
Syntax
Handle()
Remarks
This Pointer value is the argument received by a callback function associated with a function or operator defined with DefineFunction or DefineOperator. Once a uCalc.Callback object is construct with this handle, this handle typically no longer needs to be refered to directly. However, it's still avaible should you need it. uCalc interfaces with this handle underneath the hood of the uCalc.Callback object.

DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="Handle_Overload_Callback")> _

Private Function Handle_Overload_Callback__(ByVal ExprPartHandle As IntPtr) As  IntPtr
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="Handle_Overload_Callback")]

protected static extern  IntPtr Handle_Overload_Callback_(IntPtr ExprPartHandle);
            
{DLLImport}function Handle_Overload_Callback__(ExprPartHandle: System.Pointer):  System.Pointer; cdecl; external uCalcDLL name 'Handle_Overload_Callback';

            
typedef  void * (* __Handle_Overload_Callback)(void *ExprPartHandle); 

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

static void *   Handle_Overload_Callback_(void *  ExprPartHandle);
            
Prev | Next