Skip to content

Commit e6f41b0

Browse files
committed
Fix field visibility bug from java-native-access#1209
1 parent e6c6b37 commit e6f41b0

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

contrib/platform/src/com/sun/jna/platform/win32/Tlhelp32.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -191,40 +191,40 @@ public ByReference(Pointer memory) {
191191
* function, set this member to sizeof(THREADENTRY32). If you do not initialize
192192
* dwSize, Thread32First fails.
193193
*/
194-
int dwSize;
194+
public int dwSize;
195195

196196
/**
197197
* This member is no longer used and is always set to zero.
198198
*/
199-
int cntUsage;
199+
public int cntUsage;
200200

201201
/**
202202
* The thread identifier, compatible with the thread identifier returned by the
203203
* CreateProcess function.
204204
*/
205-
int th32ThreadID;
205+
public int th32ThreadID;
206206

207207
/**
208208
* The identifier of the process that created the thread.
209209
*/
210-
int th32OwnerProcessID;
210+
public int th32OwnerProcessID;
211211

212212
/**
213213
* The kernel base priority level assigned to the thread. The priority is a
214214
* number from 0 to 31, with 0 representing the lowest possible thread priority.
215215
* For more information, see KeQueryPriorityThread.
216216
*/
217-
NativeLong tpBasePri;
217+
public NativeLong tpBasePri;
218218

219219
/**
220220
* This member is no longer used and is always set to zero.
221221
*/
222-
NativeLong tpDeltaPri;
222+
public NativeLong tpDeltaPri;
223223

224224
/**
225225
* This member is no longer used and is always set to zero.
226226
*/
227-
int dwFlags;
227+
public int dwFlags;
228228

229229
public THREADENTRY32() {
230230
dwSize = size();

0 commit comments

Comments
 (0)