Skip to content

Commit d9628f7

Browse files
committed
BorrowedReference instead of in NewReference
1 parent 838dfc2 commit d9628f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/pythonexception.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,9 @@ public static void ThrowIfIsNull(IntPtr ob)
253253
}
254254
}
255255

256-
internal static void ThrowIfIsNull(in NewReference reference)
256+
internal static void ThrowIfIsNull(BorrowedReference reference)
257257
{
258-
if (reference.IsNull())
258+
if (reference.IsNull)
259259
{
260260
throw new PythonException();
261261
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy