@@ -117,7 +117,7 @@ static Delegates()
117117 // only in 3.9+
118118 }
119119 PyBuffer_IsContiguous = ( delegate * unmanaged[ Cdecl] < ref Py_buffer , char , int > ) GetFunctionByName ( nameof ( PyBuffer_IsContiguous ) , GetUnmanagedDll ( _PythonDll ) ) ;
120- PyBuffer_GetPointer = ( delegate * unmanaged[ Cdecl] < ref Py_buffer , nint [ ] , IntPtr > ) GetFunctionByName ( nameof ( PyBuffer_GetPointer ) , GetUnmanagedDll ( _PythonDll ) ) ;
120+ PyBuffer_GetPointer = ( delegate * unmanaged[ Cdecl] < ref Py_buffer , nint * , IntPtr > ) GetFunctionByName ( nameof ( PyBuffer_GetPointer ) , GetUnmanagedDll ( _PythonDll ) ) ;
121121 PyBuffer_FromContiguous = ( delegate * unmanaged[ Cdecl] < ref Py_buffer , IntPtr , IntPtr , char , int > ) GetFunctionByName ( nameof ( PyBuffer_FromContiguous ) , GetUnmanagedDll ( _PythonDll ) ) ;
122122 PyBuffer_ToContiguous = ( delegate * unmanaged[ Cdecl] < IntPtr , ref Py_buffer , IntPtr , char , int > ) GetFunctionByName ( nameof ( PyBuffer_ToContiguous ) , GetUnmanagedDll ( _PythonDll ) ) ;
123123 PyBuffer_FillContiguousStrides = ( delegate * unmanaged[ Cdecl] < int , IntPtr , IntPtr , int , char , void > ) GetFunctionByName ( nameof ( PyBuffer_FillContiguousStrides ) , GetUnmanagedDll ( _PythonDll ) ) ;
@@ -394,7 +394,7 @@ static Delegates()
394394 internal static delegate * unmanaged[ Cdecl] < ref Py_buffer , void > PyBuffer_Release { get ; }
395395 internal static delegate * unmanaged[ Cdecl] < StrPtr , nint > PyBuffer_SizeFromFormat { get ; }
396396 internal static delegate * unmanaged[ Cdecl] < ref Py_buffer , char , int > PyBuffer_IsContiguous { get ; }
397- internal static delegate * unmanaged[ Cdecl] < ref Py_buffer , nint [ ] , IntPtr > PyBuffer_GetPointer { get ; }
397+ internal static delegate * unmanaged[ Cdecl] < ref Py_buffer , nint * , IntPtr > PyBuffer_GetPointer { get ; }
398398 internal static delegate * unmanaged[ Cdecl] < ref Py_buffer , IntPtr , IntPtr , char , int > PyBuffer_FromContiguous { get ; }
399399 internal static delegate * unmanaged[ Cdecl] < IntPtr , ref Py_buffer , IntPtr , char , int > PyBuffer_ToContiguous { get ; }
400400 internal static delegate * unmanaged[ Cdecl] < int , IntPtr , IntPtr , int , char , void > PyBuffer_FillContiguousStrides { get ; }
0 commit comments