@@ -105,7 +105,7 @@ public static IntPtr GetProcAddress(IntPtr dllHandle, string name)
105105 public class Runtime
106106 {
107107 // C# compiler copies constants to the assemblies that references this library.
108- // We needs to replace all public constants to static readonly fields to allow
108+ // We needs to replace all public constants to static readonly fields to allow
109109 // binary substitution of different Python.Runtime.dll builds in a target application.
110110
111111 public static int UCS => _UCS ;
@@ -131,7 +131,7 @@ public class Runtime
131131#endif
132132
133133 // C# compiler copies constants to the assemblies that references this library.
134- // We needs to replace all public constants to static readonly fields to allow
134+ // We needs to replace all public constants to static readonly fields to allow
135135 // binary substitution of different Python.Runtime.dll builds in a target application.
136136
137137 public static string pyversion => _pyversion ;
@@ -174,7 +174,7 @@ public class Runtime
174174#endif
175175
176176 // C# compiler copies constants to the assemblies that references this library.
177- // We needs to replace all public constants to static readonly fields to allow
177+ // We needs to replace all public constants to static readonly fields to allow
178178 // binary substitution of different Python.Runtime.dll builds in a target application.
179179
180180 public static readonly string PythonDLL = _PythonDll ;
@@ -1188,7 +1188,7 @@ internal static bool PyFloat_Check(IntPtr ob)
11881188 internal static extern IntPtr PyNumber_Multiply( IntPtr o1, IntPtr o2) ;
11891189
11901190 [ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
1191- internal static extern IntPtr PyNumber_Divide ( IntPtr o1, IntPtr o2) ;
1191+ internal static extern IntPtr PyNumber_TrueDivide ( IntPtr o1, IntPtr o2) ;
11921192
11931193 [ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
11941194 internal static extern IntPtr PyNumber_And( IntPtr o1, IntPtr o2) ;
@@ -1221,7 +1221,7 @@ internal static bool PyFloat_Check(IntPtr ob)
12211221 internal static extern IntPtr PyNumber_InPlaceMultiply( IntPtr o1, IntPtr o2) ;
12221222
12231223 [ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
1224- internal static extern IntPtr PyNumber_InPlaceDivide ( IntPtr o1, IntPtr o2) ;
1224+ internal static extern IntPtr PyNumber_InPlaceTrueDivide ( IntPtr o1, IntPtr o2) ;
12251225
12261226 [ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
12271227 internal static extern IntPtr PyNumber_InPlaceAnd( IntPtr o1, IntPtr o2) ;
0 commit comments