File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -75,8 +75,14 @@ public TypeOffset314() { }
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.
7884 public int tp_watched { get ; private set ; }
79- public int tp_versions_used { get ; private set ; }
85+ // public int tp_versions_used { get; private set; }
8086 public int am_await { get ; private set ; }
8187 public int am_aiter { get ; private set ; }
8288 public int am_anext { get ; private set ; }
You can’t perform that action at this time.
0 commit comments