Пример #1
0
 public static IntPtr Malloc(IntPtr size)
 {
     if (OperatingSystem.IsWindows())
     {
         return(Windows.Malloc(size));
     }
     else
     {
         return(Unix.Malloc(size));
     }
 }