vector_int32_new2() private method

private vector_int32_new2 ( IntPtr size ) : IntPtr
size IntPtr
return IntPtr
コード例 #1
0
ファイル: VectorOfInt32.cs プロジェクト: 180D-FW-2020/Team13
 /// <summary>
 ///
 /// </summary>
 /// <param name="size"></param>
 public VectorOfInt32(int size)
 {
     if (size < 0)
     {
         throw new ArgumentOutOfRangeException("nameof(size)");
     }
     ptr = NativeMethods.vector_int32_new2(new IntPtr(size));
 }