<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="AllocArray")> _
Private Function AllocArray__(ByVal DataTypeHandle As IntPtr,ByVal ArraySize As Int32) As  IntPtr
End Function
            
          
        
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="AllocArray")]
protected static extern  IntPtr AllocArray_(IntPtr DataTypeHandle, Int32 ArraySize);
            
          
        
            
{DLLImport}function AllocArray__(DataTypeHandle: System.Pointer;ArraySize: Int32):  System.Pointer; cdecl; external uCalcDLL name 'AllocArray';
            
          
        
            
typedef  void * (* __AllocArray)(void *DataTypeHandle, int32_t ArraySize); 
            
          
        
            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "AllocArray")]
static void *   AllocArray_(void *  DataTypeHandle, Int32 ArraySize);