@@ -106,7 +106,7 @@ public static IntPtr GetProcAddress(IntPtr dllHandle, string name)
106
106
public class Runtime
107
107
{
108
108
// C# compiler copies constants to the assemblies that references this library.
109
- // We needs to replace all public constants to static readonly fields to allow
109
+ // We needs to replace all public constants to static readonly fields to allow
110
110
// binary substitution of different Python.Runtime.dll builds in a target application.
111
111
112
112
public static int UCS => _UCS ;
@@ -132,7 +132,7 @@ public class Runtime
132
132
#endif
133
133
134
134
// C# compiler copies constants to the assemblies that references this library.
135
- // We needs to replace all public constants to static readonly fields to allow
135
+ // We needs to replace all public constants to static readonly fields to allow
136
136
// binary substitution of different Python.Runtime.dll builds in a target application.
137
137
138
138
public static string pyversion => _pyversion ;
@@ -175,7 +175,7 @@ public class Runtime
175
175
#endif
176
176
177
177
// C# compiler copies constants to the assemblies that references this library.
178
- // We needs to replace all public constants to static readonly fields to allow
178
+ // We needs to replace all public constants to static readonly fields to allow
179
179
// binary substitution of different Python.Runtime.dll builds in a target application.
180
180
181
181
public static readonly string PythonDLL = _PythonDll ;
@@ -1193,7 +1193,7 @@ internal static bool PyFloat_Check(IntPtr ob)
1193
1193
internal static extern IntPtr PyNumber_Multiply( IntPtr o1, IntPtr o2) ;
1194
1194
1195
1195
[ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
1196
- internal static extern IntPtr PyNumber_Divide ( IntPtr o1, IntPtr o2) ;
1196
+ internal static extern IntPtr PyNumber_TrueDivide ( IntPtr o1, IntPtr o2) ;
1197
1197
1198
1198
[ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
1199
1199
internal static extern IntPtr PyNumber_And( IntPtr o1, IntPtr o2) ;
@@ -1226,7 +1226,7 @@ internal static bool PyFloat_Check(IntPtr ob)
1226
1226
internal static extern IntPtr PyNumber_InPlaceMultiply( IntPtr o1, IntPtr o2) ;
1227
1227
1228
1228
[ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
1229
- internal static extern IntPtr PyNumber_InPlaceDivide ( IntPtr o1, IntPtr o2) ;
1229
+ internal static extern IntPtr PyNumber_InPlaceTrueDivide ( IntPtr o1, IntPtr o2) ;
1230
1230
1231
1231
[ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
1232
1232
internal static extern IntPtr PyNumber_InPlaceAnd( IntPtr o1, IntPtr o2) ;
0 commit comments