8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa89b48 commit 80a7644Copy full SHA for 80a7644
src/runtime/interop.cs
@@ -5,7 +5,6 @@
5
using System.Runtime.InteropServices;
6
using System.Reflection;
7
using System.Text;
8
-using System.Linq;
9
10
namespace Python.Runtime
11
{
@@ -356,13 +355,6 @@ public static void FreeModuleDef(IntPtr ptr)
356
355
public static int name = 0;
357
}
358
359
- static class TypeOffsetHelper
360
- {
361
- public static string GetSlotNameByOffset(int offset)
362
363
- return typeof(TypeOffset).GetFields().First(fi => (int)fi.GetValue(null) == offset).Name;
364
- }
365
366
367
/// <summary>
368
/// TypeFlags(): The actual bit values for the Type Flags stored
0 commit comments