Skip to content

Commit 50fb157

Browse files
author
dse
committed
Super stable.
1 parent fef0682 commit 50fb157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/runtime.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ internal static Type[] PythonArgsToTypeArray(IntPtr arg, bool mangleObjects)
530530
/// </summary>
531531
internal static unsafe void XIncref(IntPtr op)
532532
{
533-
#if PYTHON_WITH_PYDEBUG || NETCOREAPP
533+
#if !ABC
534534
Py_IncRef(op);
535535
return;
536536
#else
@@ -551,7 +551,7 @@ internal static unsafe void XIncref(IntPtr op)
551551

552552
internal static unsafe void XDecref(IntPtr op)
553553
{
554-
#if PYTHON_WITH_PYDEBUG || NETCOREAPP
554+
#if !ABC
555555
Py_DecRef(op);
556556
return;
557557
#else

0 commit comments

Comments
 (0)