@@ -2016,9 +2016,8 @@ internal static IntPtr PyType_GenericAlloc(IntPtr type, long n)
2016
2016
2017
2017
internal static int PyObject_GenericSetAttr ( IntPtr obj , IntPtr name , IntPtr value ) => Delegates . PyObject_GenericSetAttr ( obj , name , value ) ;
2018
2018
2019
-
2020
- internal static BorrowedReference * _PyObject_GetDictPtr ( BorrowedReference obj ) => Delegates . _PyObject_GetDictPtr ( obj ) ;
2021
-
2019
+ internal static NewReference PyObject_GenericGetDict ( BorrowedReference o ) => PyObject_GenericGetDict ( o , IntPtr . Zero ) ;
2020
+ internal static NewReference PyObject_GenericGetDict ( BorrowedReference o , IntPtr context ) => Delegates . PyObject_GenericGetDict ( o , context ) ;
2022
2021
2023
2022
internal static void PyObject_GC_Del ( IntPtr tp ) => Delegates . PyObject_GC_Del ( tp ) ;
2024
2023
@@ -2466,8 +2465,8 @@ static Delegates()
2466
2465
PyType_Ready = ( delegate * unmanaged[ Cdecl] < IntPtr , int > ) GetFunctionByName ( nameof ( PyType_Ready ) , GetUnmanagedDll ( _PythonDll ) ) ;
2467
2466
_PyType_Lookup = ( delegate * unmanaged[ Cdecl] < IntPtr , IntPtr , IntPtr > ) GetFunctionByName ( nameof ( _PyType_Lookup ) , GetUnmanagedDll ( _PythonDll ) ) ;
2468
2467
PyObject_GenericGetAttr = ( delegate * unmanaged[ Cdecl] < IntPtr , IntPtr , IntPtr > ) GetFunctionByName ( nameof ( PyObject_GenericGetAttr ) , GetUnmanagedDll ( _PythonDll ) ) ;
2468
+ PyObject_GenericGetDict = ( delegate * unmanaged[ Cdecl] < BorrowedReference , IntPtr , NewReference > ) GetFunctionByName ( nameof ( PyObject_GenericGetDict ) , GetUnmanagedDll ( PythonDLL ) ) ;
2469
2469
PyObject_GenericSetAttr = ( delegate * unmanaged[ Cdecl] < IntPtr , IntPtr , IntPtr , int > ) GetFunctionByName ( nameof ( PyObject_GenericSetAttr ) , GetUnmanagedDll ( _PythonDll ) ) ;
2470
- _PyObject_GetDictPtr = ( delegate * unmanaged[ Cdecl] < BorrowedReference , BorrowedReference * > ) GetFunctionByName ( nameof ( _PyObject_GetDictPtr ) , GetUnmanagedDll ( _PythonDll ) ) ;
2471
2470
PyObject_GC_Del = ( delegate * unmanaged[ Cdecl] < IntPtr , void > ) GetFunctionByName ( nameof ( PyObject_GC_Del ) , GetUnmanagedDll ( _PythonDll ) ) ;
2472
2471
PyObject_GC_Track = ( delegate * unmanaged[ Cdecl] < IntPtr , void > ) GetFunctionByName ( nameof ( PyObject_GC_Track ) , GetUnmanagedDll ( _PythonDll ) ) ;
2473
2472
PyObject_GC_UnTrack = ( delegate * unmanaged[ Cdecl] < IntPtr , void > ) GetFunctionByName ( nameof ( PyObject_GC_UnTrack ) , GetUnmanagedDll ( _PythonDll ) ) ;
@@ -2732,7 +2731,6 @@ static Delegates()
2732
2731
internal static delegate * unmanaged[ Cdecl] < IntPtr , IntPtr , IntPtr > _PyType_Lookup { get ; }
2733
2732
internal static delegate * unmanaged[ Cdecl] < IntPtr , IntPtr , IntPtr > PyObject_GenericGetAttr { get ; }
2734
2733
internal static delegate * unmanaged[ Cdecl] < IntPtr , IntPtr , IntPtr , int > PyObject_GenericSetAttr { get ; }
2735
- internal static delegate * unmanaged[ Cdecl] < BorrowedReference , BorrowedReference * > _PyObject_GetDictPtr { get ; }
2736
2734
internal static delegate * unmanaged[ Cdecl] < IntPtr , void > PyObject_GC_Del { get ; }
2737
2735
internal static delegate * unmanaged[ Cdecl] < IntPtr , void > PyObject_GC_Track { get ; }
2738
2736
internal static delegate * unmanaged[ Cdecl] < IntPtr , void > PyObject_GC_UnTrack { get ; }
@@ -2769,6 +2767,7 @@ static Delegates()
2769
2767
internal static delegate * unmanaged[ Cdecl] < IntPtr , IntPtr , void > PyException_SetCause { get ; }
2770
2768
internal static delegate * unmanaged[ Cdecl] < uint , IntPtr , int > PyThreadState_SetAsyncExcLLP64 { get ; }
2771
2769
internal static delegate * unmanaged[ Cdecl] < ulong , IntPtr , int > PyThreadState_SetAsyncExcLP64 { get ; }
2770
+ internal static delegate * unmanaged[ Cdecl] < BorrowedReference , IntPtr , NewReference > PyObject_GenericGetDict { get ; }
2772
2771
}
2773
2772
}
2774
2773
0 commit comments