22// Auto-generated by geninterop.py.
33// DO NOT MODIFY BY HAND.
44
5- // Python 3.10 : ABI flags: ''
5+ // Python 3.15 : ABI flags: ''
66
77// ReSharper disable InconsistentNaming
88// ReSharper disable IdentifierTypo
@@ -20,11 +20,11 @@ namespace Python.Runtime
2020 Scope = "type" ) ]
2121
2222 [ StructLayout ( LayoutKind . Sequential ) ]
23- internal class TypeOffset310 : GeneratedTypeOffsets , ITypeOffsets
23+ internal class TypeOffset315 : GeneratedTypeOffsets , ITypeOffsets
2424 {
25- public TypeOffset310 ( ) { }
25+ public TypeOffset315 ( ) { }
2626 // Auto-generated from PyHeapTypeObject in Python.h
27- public int ob_refcnt { get ; private set ; }
27+ public int ob_refcnt_full { get ; private set ; }
2828 public int ob_type { get ; private set ; }
2929 public int ob_size { get ; private set ; }
3030 public int tp_name { get ; private set ; }
@@ -75,6 +75,15 @@ public TypeOffset310() { }
7575 public int tp_version_tag { get ; private set ; }
7676 public int tp_finalize { get ; private set ; }
7777 public int tp_vectorcall { get ; private set ; }
78+ // This is an error in our generator:
79+ //
80+ // The fields below are actually not pointers (like we incorrectly
81+ // assume for all other fields) but instead a char (1 byte) and a short
82+ // (2 bytes). By dropping one of the fields, we still get the correct
83+ // overall size of the struct.
84+ public int tp_watched { get ; private set ; }
85+ // public int tp_versions_used { get; private set; }
86+ public int tp_iteritem { get ; private set ; }
7887 public int am_await { get ; private set ; }
7988 public int am_aiter { get ; private set ; }
8089 public int am_anext { get ; private set ; }
@@ -135,6 +144,11 @@ public TypeOffset310() { }
135144 public int qualname { get ; private set ; }
136145 public int ht_cached_keys { get ; private set ; }
137146 public int ht_module { get ; private set ; }
147+ public int _ht_tpname { get ; private set ; }
148+ public int ht_token { get ; private set ; }
149+ public int spec_cache_getitem { get ; private set ; }
150+ public int getitem_version { get ; private set ; }
151+ public int init { get ; private set ; }
138152 }
139153}
140154
0 commit comments