File tree 2 files changed +262
-263
lines changed
2 files changed +262
-263
lines changed Original file line number Diff line number Diff line change 2
2
using System . Reflection ;
3
3
using System . Runtime . InteropServices ;
4
4
5
-
6
5
namespace Python . Runtime
7
6
{
8
7
/// <summary>
@@ -171,7 +170,7 @@ internal static void SetArgsAndCause(IntPtr ob)
171
170
/// Shortcut for (pointer == NULL) -> throw PythonException
172
171
/// </summary>
173
172
/// <param name="pointer">Pointer to a Python object</param>
174
- internal static unsafe void ErrorCheck ( IntPtr pointer )
173
+ internal static void ErrorCheck ( IntPtr pointer )
175
174
{
176
175
if ( pointer == IntPtr . Zero )
177
176
{
@@ -182,7 +181,7 @@ internal static unsafe void ErrorCheck(IntPtr pointer)
182
181
/// <summary>
183
182
/// Shortcut for (pointer == NULL or ErrorOccurred()) -> throw PythonException
184
183
/// </summary>
185
- internal static unsafe void ErrorOccurredCheck ( IntPtr pointer )
184
+ internal static void ErrorOccurredCheck ( IntPtr pointer )
186
185
{
187
186
if ( pointer == IntPtr . Zero || ErrorOccurred ( ) )
188
187
{
You can’t perform that action at this time.
0 commit comments