From e6f41b0c2ec1b7a206aa9c525bcaac7ecb04de0e Mon Sep 17 00:00:00 2001 From: Daniel Widdis Date: Mon, 6 Jul 2020 08:58:47 -0700 Subject: [PATCH] Fix field visibility bug from #1209 --- .../src/com/sun/jna/platform/win32/Tlhelp32.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/contrib/platform/src/com/sun/jna/platform/win32/Tlhelp32.java b/contrib/platform/src/com/sun/jna/platform/win32/Tlhelp32.java index 6c72b02bd6..e606b321da 100644 --- a/contrib/platform/src/com/sun/jna/platform/win32/Tlhelp32.java +++ b/contrib/platform/src/com/sun/jna/platform/win32/Tlhelp32.java @@ -191,40 +191,40 @@ public ByReference(Pointer memory) { * function, set this member to sizeof(THREADENTRY32). If you do not initialize * dwSize, Thread32First fails. */ - int dwSize; + public int dwSize; /** * This member is no longer used and is always set to zero. */ - int cntUsage; + public int cntUsage; /** * The thread identifier, compatible with the thread identifier returned by the * CreateProcess function. */ - int th32ThreadID; + public int th32ThreadID; /** * The identifier of the process that created the thread. */ - int th32OwnerProcessID; + public int th32OwnerProcessID; /** * The kernel base priority level assigned to the thread. The priority is a * number from 0 to 31, with 0 representing the lowest possible thread priority. * For more information, see KeQueryPriorityThread. */ - NativeLong tpBasePri; + public NativeLong tpBasePri; /** * This member is no longer used and is always set to zero. */ - NativeLong tpDeltaPri; + public NativeLong tpDeltaPri; /** * This member is no longer used and is always set to zero. */ - int dwFlags; + public int dwFlags; public THREADENTRY32() { dwSize = size();