Skip to content

Commit

Permalink
Change graal name for nested structs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajalt committed Aug 18, 2024
1 parent 1a4eb79 commit 8a79b21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private object WinKernel32Lib {

}

@CStruct("uChar")
@CStruct("KEY_EVENT_RECORD.uChar")
interface UnionChar : PointerBase {
@get:CField("UnicodeChar")
val UnicodeChar: Char
Expand Down Expand Up @@ -103,7 +103,7 @@ private object WinKernel32Lib {
val dwEventFlags: Int
}

@CStruct("Event", isIncomplete=true)
@CStruct("INPUT_RECORD.Event", isIncomplete=true)
interface EventUnion : PointerBase {
@get:CFieldAddress("KeyEvent")
val KeyEvent: KEY_EVENT_RECORD
Expand Down

0 comments on commit 8a79b21

Please sign in to comment.