ReturnInt64Method

Applies to:Fast Math Parser
Class:uCalc.Callback
Sets the return value of a uCalc.Callback function as an Int64 integer
Syntax
ReturnInt64(Value)
Parameters
Value
Int64
Integer (64-bit) that your callback returns
Returns
Nothing
Remarks
When you define a callback function with DefineFunction and you want to return a Int64, do it with ReturnInt64.
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="ReturnInt64")> _

Private Sub ReturnInt64__(ByVal ExprPartHandle As IntPtr,ByVal Value As Int64)
End Sub
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="ReturnInt64")]

protected static extern  void ReturnInt64_(IntPtr ExprPartHandle, Int64 Value);
            
{DLLImport}procedure ReturnInt64__(ExprPartHandle: System.Pointer;Value: Int64); cdecl; external uCalcDLL name 'ReturnInt64';

            
typedef  void (* __ReturnInt64)(void *ExprPartHandle, int64_t Value); 

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

static void ReturnInt64_(void *  ExprPartHandle, Int64 Value);
            
See also
Prev | Next