Exemplo n.º 1
0
 public static IntPtr ReAllocHeap(IntPtr ptr, long size)
 {
     if (size < (long)0)
     {
         throw new ArgumentOutOfRangeException("size", "< 0");
     }
     return(Stdlib.realloc(ptr, (ulong)size));
 }