Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit88d98f2

Browse files
committed
Workaround for geninterop failure to handle non-pointer fields
1 parentf3face0 commit88d98f2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎src/runtime/Native/TypeOffset313.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,14 @@ public TypeOffset313() { }
7575
publicinttp_version_tag{get;privateset;}
7676
publicinttp_finalize{get;privateset;}
7777
publicinttp_vectorcall{get;privateset;}
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
publicinttp_watched{get;privateset;}
79-
publicinttp_versions_used{get;privateset;}
85+
//public int tp_versions_used { get; private set; }
8086
publicintam_await{get;privateset;}
8187
publicintam_aiter{get;privateset;}
8288
publicintam_anext{get;privateset;}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp